Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
116874 张暄浩 05拆分时间 C++ Compile Error 0 MS 0 KB 200 2025-04-12 18:06:19

Tests(0/0):


Code:

#include<iostream> #include<cstdio> using namespace std; int main(){ int h,m,x; cin>>x; h=x/3600; m=(x-h*3600)/60; s=x%60; cout<<h<<" "<<m<<" "<<s; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:10:5: error: 's' was not declared in this scope
     s=x%60;
     ^