結果

問題 No.651 E869120 and Driving
ユーザー aaaaaa
提出日時 2018-10-01 15:47:28
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 660 bytes
コンパイル時間 926 ms
コンパイル使用メモリ 93,988 KB
実行使用メモリ 4,372 KB
最終ジャッジ日時 2023-10-22 08:00:45
合計ジャッジ時間 1,437 ms
ジャッジサーバーID
(参考情報)
judge12 / judge9
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,348 KB
testcase_01 WA -
testcase_02 AC 1 ms
4,348 KB
testcase_03 AC 2 ms
4,348 KB
testcase_04 AC 2 ms
4,348 KB
testcase_05 AC 2 ms
4,348 KB
testcase_06 AC 2 ms
4,348 KB
testcase_07 AC 2 ms
4,348 KB
testcase_08 AC 2 ms
4,348 KB
testcase_09 AC 2 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
#include <functional>
#include <map>
#include <iomanip>
#include <math.h> 
#include <stack>
#include <queue>
#include <bitset>
#include <cstdlib>
#include <tuple>
#include <cctype>
#include <ctype.h>
#include <set>
#include <sstream>

using namespace std;


int main() {
	int i, j, k;   
	double a;

	cin >> a;

	double tm = a / 100.0;

	tm = 60.0 * tm;

	double hour = tm / 60;

	hour = floor(hour);

	double min = tm - (hour * 60);

	
	min = ceil(min);

	cout << 10 + hour << ":" << setfill('0') << setw(2) << min << endl;



	getchar();
	getchar();
	return 0;
}
0