結果
| 問題 | No.651 E869120 and Driving | 
| コンテスト | |
| ユーザー |  commy | 
| 提出日時 | 2018-02-26 19:41:37 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 1,000 ms | 
| コード長 | 438 bytes | 
| コンパイル時間 | 609 ms | 
| コンパイル使用メモリ | 73,476 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-09-22 08:56:10 | 
| 合計ジャッジ時間 | 1,142 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 7 | 
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
#include <iomanip>
#define REP(i, a, b) for (int i = int(a); i < int(b); i++)
#define dump(s) cerr << __LINE__ << "\t:" << #s << " = " << (s) << endl
    
using namespace std;
int main () {
    int a;
    cin >> a;
    int tm = (600 + a / 10 * 6) % 1440;
    cout << setw(2) << setfill('0') << tm / 60 << ':' << setw(2) << setfill('0') << tm% 60 << endl;
    
    return 0; 
}
            
            
            
        