Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65211 李志奇 05拆分时间 C++ Accepted 2 MS 272 KB 205 2024-01-24 12:07:02

Tests(10/10):


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