結果

問題 No.651 E869120 and Driving
ユーザー AqFv
提出日時 2018-02-23 22:34:56
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 350 bytes
コンパイル時間 507 ms
コンパイル使用メモリ 65,060 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-22 08:53:56
合計ジャッジ時間 961 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <algorithm>
#include <iomanip>
#define rep(i, a, n) for(int i = a;i < n;i++)
#define repr(i, a, n) for(int i = a;i > n;i--)
using namespace std;


int main(){
	int a;
	cin >> a;

	double t = a / 100.0;
	double m = (t - (int)t) * 60;

	cout << 10+(int)t << ':';
	cout << setfill('0') << setw(2) << m << endl;

	return 0;
}
0