結果

問題 No.651 E869120 and Driving
ユーザー Konton7
提出日時 2020-01-13 22:50:41
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 308 bytes
コンパイル時間 2,224 ms
コンパイル使用メモリ 192,956 KB
最終ジャッジ日時 2025-01-08 17:49:20
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;
typedef long long ll;

int main(){
    
    int n, h, m;
    string s;
    cin >> n;
    h = 10;
    m = 0;
    
    h += n / 100;
    m += ( ( n % 100 ) / 10 ) * 6;
    if (m < 10)
        s = "0" ;
    cout << h << ":" << s << m << endl;
    return 0;

    
}
0