結果
問題 | No.651 E869120 and Driving |
ユーザー |
![]() |
提出日時 | 2018-02-24 03:14:19 |
言語 | C++17(clang) (17.0.6 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 706 bytes |
コンパイル時間 | 918 ms |
コンパイル使用メモリ | 136,704 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-30 11:52:37 |
合計ジャッジ時間 | 1,466 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
#include<cstring>#include<string>#include<vector>#include<iostream>#include<cstdio>#include<cstdlib>#include<stack>#include<queue>#include<cmath>#include<algorithm>#include<list>#include<set>#include<map>#include<sstream>#include<climits>#define rep(X,Y) for (int (X) = 0;(X) < (Y);++(X))#define rrep(X,Y) for (int (X) = (Y)-1;(X) >=0;--(X))#define all(X) (X).begin(),(X).end()#define fi first#define sc secondusing namespace std;typedef long long ll;typedef pair<int,int> pii;typedef pair<ll,ll> pll;const int dx[4] = {1, 0, -1, 0}, dy[4] = {0, 1, 0, -1};int main() {int a;cin >> a;int h = a / 100, m = ((a-h*100)/10) * 6;h += 10;printf("%d:%02d\n", h, m);}