結果
問題 | No.651 E869120 and Driving |
ユーザー |
![]() |
提出日時 | 2018-02-23 22:28:06 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 1,000 ms |
コード長 | 576 bytes |
コンパイル時間 | 635 ms |
コンパイル使用メモリ | 79,316 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-09-22 08:53:37 |
合計ジャッジ時間 | 1,136 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 7 |
ソースコード
#include<vector>#include<iostream>#include<string>#include<algorithm>#include<math.h>#include<map>#include<functional>#include<queue>#include<stack>#include<string.h>#include<list>#define MOD 10000#define INF 1000000000#define MAX 101using namespace std;typedef long long int ll;typedef pair<int,int> P;int main() {int a;cin>>a;a/=10;cout<<10+a/10;cout<<":";if(a%10==0){cout<<"00"<<endl;}else if((a%10)==1){cout<<"06"<<endl;}else{cout<<6*(a%10)<<endl;}}