結果

問題 No.651 E869120 and Driving
ユーザー Bantako
提出日時 2018-05-25 00:55:14
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 204 bytes
コンパイル時間 1,487 ms
コンパイル使用メモリ 164,740 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-22 09:00:35
合計ジャッジ時間 2,004 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:6:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    6 | main(){
      | ^~~~

ソースコード

diff #

#include<bits/stdc++.h>
typedef long long ll;
using namespace std;
int INF = 1LL << 30;
int MOD = 1e9+7;
main(){
    int N;
    cin >> N;
    int t = 600 + N/10*6;
    printf("%02d:%02d\n" ,t/60 ,t%60);
}
0