Run ID:81070
提交时间:2024-07-12 09:47:51
#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; }