Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
81070 唐安轩 05拆分时间 C++ Wrong Answer 0 MS 272 KB 230 2024-07-12 09:47:51

Tests(0/10):


Code:

#include<iostream> using namespace std; int main(){ int h,m,s,time; cout<<"请输入时间"; cin>>time; h=time/3600; m=time%3600/60; s=time%3600%60/1; cout<<h<<" "<<m<<" "<<s; return 0; }


Run Info:

------Input------
602
------Answer-----
0 10 2
------Your output-----
请输入时间0 10 2