結果

問題 No.651 E869120 and Driving
ユーザー Freed_0929Freed_0929
提出日時 2018-02-23 22:26:41
言語 Java21
(openjdk 21)
結果
AC  
実行時間 164 ms / 1,000 ms
コード長 360 bytes
コンパイル時間 2,313 ms
コンパイル使用メモリ 79,432 KB
実行使用メモリ 58,640 KB
最終ジャッジ日時 2023-10-22 07:49:36
合計ジャッジ時間 4,651 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 160 ms
58,408 KB
testcase_01 AC 161 ms
58,412 KB
testcase_02 AC 159 ms
58,464 KB
testcase_03 AC 161 ms
58,624 KB
testcase_04 AC 163 ms
58,448 KB
testcase_05 AC 162 ms
58,640 KB
testcase_06 AC 163 ms
58,468 KB
testcase_07 AC 161 ms
58,588 KB
testcase_08 AC 161 ms
56,600 KB
testcase_09 AC 164 ms
56,632 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;
import java.util.Arrays;
import java.util.Deque;
import java.util.ArrayDeque;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a=sc.nextInt();
        int b=a/100;
        int c=(int) ((a-b*100)*0.6);
        System.out.println(10+b+":"+c/10+""+c%10);
    }
}
0