結果

問題 No.3017 エスパー
ユーザー GrenacheGrenache
提出日時 2016-07-21 19:35:34
言語 Java21
(openjdk 21)
結果
AC  
実行時間 134 ms / 2,000 ms
コード長 264 bytes
コンパイル時間 3,660 ms
コンパイル使用メモリ 75,088 KB
実行使用メモリ 41,904 KB
最終ジャッジ日時 2024-04-23 23:46:45
合計ジャッジ時間 7,118 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 131 ms
41,500 KB
testcase_01 AC 124 ms
41,560 KB
testcase_02 AC 130 ms
41,324 KB
testcase_03 AC 133 ms
41,444 KB
testcase_04 AC 132 ms
41,776 KB
testcase_05 AC 129 ms
41,532 KB
testcase_06 AC 130 ms
41,168 KB
testcase_07 AC 128 ms
41,736 KB
testcase_08 AC 134 ms
41,792 KB
testcase_09 AC 130 ms
41,904 KB
testcase_10 AC 130 ms
41,276 KB
testcase_11 AC 132 ms
41,520 KB
testcase_12 AC 131 ms
41,684 KB
testcase_13 AC 133 ms
41,624 KB
testcase_14 AC 132 ms
41,660 KB
testcase_15 AC 132 ms
41,368 KB
testcase_16 AC 132 ms
41,368 KB
testcase_17 AC 132 ms
41,532 KB
testcase_18 AC 128 ms
41,360 KB
testcase_19 AC 130 ms
41,320 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;



public class Main_yukicoder3017_1 {

    public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);

    	long s = sc.nextInt();
    	long k = sc.nextInt();

    	System.out.println(s % k);


    	sc.close();
    }
}
0