結果
| 問題 |
No.651 E869120 and Driving
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-03-18 21:56:53 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 659 bytes |
| コンパイル時間 | 793 ms |
| コンパイル使用メモリ | 100,172 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-22 08:58:15 |
| 合計ジャッジ時間 | 1,291 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
ソースコード
#define _USE_MATH_DEFINES
#include <cstdio>
#include <iostream>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <algorithm>
#include <cmath>
#include <complex>
#include <string>
#include <vector>
#include <list>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <bitset>
#include <numeric>
#include <limits>
#include <climits>
#include <cfloat>
#include <functional>
#include <iterator>
using namespace std;
int main()
{
int a;
cin >> a;
int t = a / 10;
int h = 10 + t / 10;
int m = t % 10 * 6;
cout << setfill('0');
cout << setw(2) << h << ':' << setw(2) << m << endl;
return 0;
}