結果
| 問題 | No.651 E869120 and Driving | 
| コンテスト | |
| ユーザー | 👑 | 
| 提出日時 | 2022-08-09 19:03:28 | 
| 言語 | C++17(gcc12) (gcc 12.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 89 ms / 1,000 ms | 
| コード長 | 584 bytes | 
| コンパイル時間 | 748 ms | 
| コンパイル使用メモリ | 77,540 KB | 
| 最終ジャッジ日時 | 2025-01-30 19:45:40 | 
| ジャッジサーバーID (参考情報) | judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 7 | 
ソースコード
#include <iostream>
#include <list>
#include <vector>
#include <string>
#include <stdio.h>
#include <stdint.h>
#include <iomanip>
using namespace std;
using uint = unsigned int;
using ll = long long;
#define CIN( LL , A ) LL A; cin >> A 
#define GETLINE( A ) string A; getline( cin , A ) 
#define FOR_ITR( ARRAY , ITR , END ) for( auto ITR = ARRAY .begin() , END = ARRAY .end() ; ITR != END ; ITR ++ ) 
int main()
{
  CIN( ll , a );
  const ll time = 10 * 60 + a / 10 * 6;
  
  cout << ( time / 60 ) % 24 << ":" << to_string( time % 60 + 100 ).substr( 1 ) << endl;
  return 0;
}
            
            
            
        