# 秒数转换

输入一个秒数，转换成HH：MM：SS的格式输出。

输入样例  

365

输出样例 

00:06:05

以下程序实现了这一功能，请你补全空白处内容：

```cpp
#include <cstdio>
int n;
void print(int x)
{
    if (x == 0)
        printf("00");
    else if (x < 10)
        printf("0%d", x);
    else
        printf("%d", x);
    return;
}
int main()
{
    scanf("%d", &n);
    int s, f, m;
	____________;
    print(s);
    printf(":");
    print(f);
    printf(":");
    print(m);
    return 0;
}
```

## template

```cpp
#include <cstdio>
int n;
void print(int x)
{
    if (x == 0)
        printf("00");
    else if (x < 10)
        printf("0%d", x);
    else
        printf("%d", x);
    return;
}
int main()
{
    scanf("%d", &n);
    int s, f, m;
    s = n / 3600;
    f = n / 60 % 60;
    m = n % 60;
    print(s);
    printf(":");
    print(f);
    printf(":");
    print(m);
    return 0;
}
```

## 答案

```cpp
s = n / 3600;
f = n / 60 % 60;
m = n % 60;
```

## 选项

### A

```cpp
s = n / 3600;
f = n / 60 / 60;
m = n / 60;
```

### B

```cpp
s = n / 3600;
f = n % 60 % 60;
m = n % 60;
```

### C

```cpp
s = n / 3600;
f = n / 60 % 60;
m = n / 60;
```