結果
問題 | No.373 かけ算と割った余り |
ユーザー | yui |
提出日時 | 2017-02-21 11:33:35 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 309 bytes |
コンパイル時間 | 1,887 ms |
コンパイル使用メモリ | 71,444 KB |
実行使用メモリ | 56,156 KB |
最終ジャッジ日時 | 2023-08-28 22:23:33 |
合計ジャッジ時間 | 3,426 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 124 ms
56,020 KB |
testcase_01 | AC | 124 ms
56,020 KB |
testcase_02 | AC | 124 ms
56,056 KB |
testcase_03 | AC | 124 ms
55,868 KB |
testcase_04 | AC | 127 ms
55,904 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
ソースコード
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num1 = sc.nextInt(); int num2 = sc.nextInt(); int num3 = sc.nextInt(); int product = num1*num2*num3; int num4 = sc.nextInt(); System.out.println(product%num4); } }