神威难藏泪 • 1个月前
int main() {
int a, b, c, d, n, e, f; scanf("%d", &n); a = n / 3600; b = n % 3600; c = b / 60; d = b % 60; e = d / 1; f = d % 1; printf("%d:%d:%d", a, c, e ); return 0;
}
评论:
请先登录,才能进行评论