Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65207 李志奇 05拆分时间 C++ Compile Error 0 MS 0 KB 201 2024-01-24 12:02:43

Tests(0/0):


Code:

#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; }


Run Info:

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 <