Submission #66467


ソースコード

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//GIVE ME AC!!!!!!!!!!!!!!!!!
#pragma GCC target("avx")
#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#include<bits/stdc++.h>
#define ll long long
#define floatset() fixed<<setprecision(15)
#define all(n) n.begin(),n.end()
#define rall(n) n.rbegin(),n.rend()
#define rep(i, s, n) for (ll i = s; i < (ll)(n); i++)
using namespace std;
const int dx[4] = {1, 0, -1, 0};
const int dy[4] = {0, 1, 0, -1};
const ll inf =8223372036854775807;
const ll MOD=1000000007;
const ll mod=998244353;
const double pi=acos(-1);
using P=pair<ll,ll>;
int main(){
ll n;
cin>>n;
cout<<n/3600<<" ";
n%=3600;
cout<<n/60<<" ";
cout<<n%60<<endl;
}

ステータス

項目 データ
問題 1451 - 角度の変換
ユーザー名 MtSaka
投稿日時 2021-05-05 10:23:31
言語 C++17
状態 Accepted
得点 3
ソースコード長 664 Byte
最大実行時間 41 ms
最大メモリ使用量 676 KB

セット

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

テストケース

ファイル名 状態 実行時間 メモリ使用量 #
in1 AC 39 ms 604 KB
1
in2 AC 20 ms 676 KB
1
in3 AC 35 ms 520 KB
1
in4 AC 25 ms 616 KB
1
in5 AC 19 ms 464 KB
1
in6 AC 25 ms 436 KB
1
in7 AC 41 ms 532 KB
1
in8 AC 25 ms 504 KB
1
in9 AC 16 ms 480 KB
1
in10 AC 38 ms 576 KB
1