Submission #73862


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include<bits/stdc++.h>
#define rep(i,a,n) for(long long i=a;i<n;i++)
#define repp(i,a,n) for(long long i=a;i>=n;i--)
#define so(z) sort(z.begin(),z.end())
#define sor(z) sort(z.begin(),z.end(),greater<int>())
#define cout(a) cout<<a<<"\n"
#define yes cout<<"Yes"<<"\n"
#define no cout<<"No"<<"\n"
#define nn "\n"
#define ll long long
using namespace std;
int main(){
int n;
cin>>n;
cout<<n/3600<<" ";
n%=3600;
//cout<<n<<nn;
cout<<n/60<<" ";
n%=60;
cout<<n<<nn;
return(0);
}

ステータス

項目 データ
問題 1451 - 角度の変換
ユーザー名 r2201
投稿日時 2022-11-04 16:48:09
言語 C++17
状態 Accepted
得点 3
ソースコード長 508 Byte
最大実行時間 27 ms
最大メモリ使用量 624 KB

セット

セット 得点 Cases
1 ALL 3 / 3 *

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1 AC 24 ms 476 KB
1
in2 AC 20 ms 420 KB
1
in3 AC 24 ms 396 KB
1
in4 AC 27 ms 496 KB
1
in5 AC 16 ms 464 KB
1
in6 AC 22 ms 428 KB
1
in7 AC 20 ms 396 KB
1
in8 AC 21 ms 624 KB
1
in9 AC 26 ms 468 KB
1
in10 AC 21 ms 576 KB
1