Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
110549 | 郭湛文 | 05拆分时间 | C++ | Compile Error | 0 MS | 0 KB | 378 | 2025-02-22 11:49:28 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int,x,a,b,c; cin,x; a=x/3600; b=x%3600/60; c=x%3600%60 cout<<a<<" "<<b<<" "<<c; return 0; }
Main.cc: In function 'int main()': Main.cc:8:8: error: expected unqualified-id before ',' token int,x,a,b,c; ^ Main.cc:9:9: warning: left operand of comma operator has no effect [-Wunused-value] cin,x; ^ Main.cc:9:10: warning: right operand of comma operator has no effect [-Wunused-value] cin,x; ^ Main.cc:13:5: error: expected ';' before 'cout' cout<