百变马丁 • 6天前
int main() {
int a1, a2, a3, a4, b1, b2, b3, b4, n; scanf("%d", & n); a1 = n / 3600; b1 = n % 3600; a2 = b1 / 60; b2 = b1 % 60; a3 = b2 / 1;
printf("%d:%d:%d", a1, a2, a3);
return 0;
}
评论:
请先登录,才能进行评论