| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 65210 | 李志奇 | 05拆分时间 | C++ | Compile Error | 0 MS | 0 KB | 204 | 2024-01-24 12:05:07 |
#include<bits/stdc++.h> using namespace std; int main(){ int x; cin >> x int hour =x / 3600; int min =x % 3600/60; int sec =x % 60; cout <<hour << " " << min << " " <<sec; return 0; }
Main.cc: In function 'int main()': Main.cc:6:2: error: expected ';' before 'int' int hour =x / 3600; ^ Main.cc:9:9: error: 'hour' was not declared in this scope cout <