結果

問題 No.3017 エスパー
ユーザー yagi2yagi2
提出日時 2017-04-25 18:18:14
言語 Java21
(openjdk 21)
結果
AC  
実行時間 121 ms / 2,000 ms
コード長 266 bytes
コンパイル時間 2,744 ms
コンパイル使用メモリ 75,712 KB
実行使用メモリ 57,944 KB
最終ジャッジ日時 2023-10-11 09:56:04
合計ジャッジ時間 5,424 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 115 ms
55,476 KB
testcase_01 AC 115 ms
56,712 KB
testcase_02 AC 113 ms
55,632 KB
testcase_03 AC 114 ms
55,468 KB
testcase_04 AC 116 ms
55,640 KB
testcase_05 AC 115 ms
55,740 KB
testcase_06 AC 114 ms
55,688 KB
testcase_07 AC 121 ms
55,724 KB
testcase_08 AC 115 ms
55,696 KB
testcase_09 AC 115 ms
55,932 KB
testcase_10 AC 115 ms
55,884 KB
testcase_11 AC 117 ms
55,380 KB
testcase_12 AC 114 ms
55,944 KB
testcase_13 AC 111 ms
55,680 KB
testcase_14 AC 113 ms
55,928 KB
testcase_15 AC 114 ms
55,680 KB
testcase_16 AC 114 ms
57,944 KB
testcase_17 AC 115 ms
55,860 KB
testcase_18 AC 114 ms
56,048 KB
testcase_19 AC 117 ms
56,048 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        Long S = Long.parseLong(sc.next());
        Long K = Long.parseLong(sc.next());
        System.out.println(S%K);
    }
}
0