結果

問題 No.651 E869120 and Driving
ユーザー ken8aisaken8aisa
提出日時 2018-06-18 17:38:46
言語 C++11
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 1,000 ms
コード長 263 bytes
コンパイル時間 431 ms
コンパイル使用メモリ 57,332 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-22 09:01:09
合計ジャッジ時間 917 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<string>
#include<vector>
using namespace std;
int main() {
	int a;
	cin >> a;
		cout << (10 + a / 100) << ":";
		int min = a % 100 / 100.0 * 60;
		if (min < 10)
			cout << "0" << min << endl;
		else
			cout << min << endl;
	return 0;
}
0