結果

問題 No.651 E869120 and Driving
ユーザー aikon_marimoaikon_marimo
提出日時 2018-02-23 23:21:48
言語 Java21
(openjdk 21)
結果
AC  
実行時間 163 ms / 1,000 ms
コード長 274 bytes
コンパイル時間 2,110 ms
コンパイル使用メモリ 76,796 KB
実行使用メモリ 58,524 KB
最終ジャッジ日時 2023-10-22 07:50:58
合計ジャッジ時間 4,365 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 143 ms
57,920 KB
testcase_01 AC 155 ms
58,328 KB
testcase_02 AC 153 ms
58,360 KB
testcase_03 AC 163 ms
58,408 KB
testcase_04 AC 154 ms
58,408 KB
testcase_05 AC 162 ms
58,404 KB
testcase_06 AC 156 ms
58,336 KB
testcase_07 AC 155 ms
58,468 KB
testcase_08 AC 161 ms
58,332 KB
testcase_09 AC 160 ms
58,524 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		
		int a = in.nextInt();
		
		int h = a/100;
		int m = (int)(60*(a%100)/100.0);
		System.out.println((10+h)+":"+String.format("%02d", m));
	}
}
0