結果
問題 | No.373 かけ算と割った余り |
ユーザー | kenji_shioya |
提出日時 | 2016-06-05 09:23:02 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 285 bytes |
コンパイル時間 | 3,718 ms |
コンパイル使用メモリ | 76,184 KB |
実行使用メモリ | 41,220 KB |
最終ジャッジ日時 | 2024-04-17 04:24:23 |
合計ジャッジ時間 | 4,511 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 124 ms
41,204 KB |
testcase_01 | AC | 113 ms
39,876 KB |
testcase_02 | AC | 124 ms
41,220 KB |
testcase_03 | AC | 122 ms
40,940 KB |
testcase_04 | AC | 121 ms
40,932 KB |
testcase_05 | WA | - |
testcase_06 | WA | - |
ソースコード
import java.util.*; public class Exercise61{ public static void main (String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); System.out.println(((a * b) * c) % d); } }