結果

問題 No.3017 エスパー
ユーザー 37zigen37zigen
提出日時 2016-07-22 10:20:20
言語 Java21
(openjdk 21)
結果
AC  
実行時間 137 ms / 2,000 ms
コード長 183 bytes
コンパイル時間 2,430 ms
コンパイル使用メモリ 74,024 KB
実行使用メモリ 54,308 KB
最終ジャッジ日時 2024-04-24 01:26:21
合計ジャッジ時間 5,859 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 136 ms
54,168 KB
testcase_01 AC 133 ms
53,668 KB
testcase_02 AC 134 ms
53,972 KB
testcase_03 AC 136 ms
54,056 KB
testcase_04 AC 132 ms
54,140 KB
testcase_05 AC 136 ms
53,808 KB
testcase_06 AC 134 ms
54,200 KB
testcase_07 AC 135 ms
54,136 KB
testcase_08 AC 133 ms
54,064 KB
testcase_09 AC 136 ms
54,284 KB
testcase_10 AC 135 ms
54,136 KB
testcase_11 AC 133 ms
54,308 KB
testcase_12 AC 136 ms
54,120 KB
testcase_13 AC 136 ms
54,296 KB
testcase_14 AC 134 ms
54,188 KB
testcase_15 AC 137 ms
53,968 KB
testcase_16 AC 133 ms
54,224 KB
testcase_17 AC 135 ms
53,956 KB
testcase_18 AC 134 ms
53,976 KB
testcase_19 AC 134 ms
54,208 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.*;

public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int s=sc.nextInt();
int k=sc.nextInt();
System.out.println(s%k);
}
}
0