結果
問題 | No.2007 Arbitrary Mod (Easy) |
ユーザー | sysnote8main |
提出日時 | 2023-05-07 16:44:09 |
言語 | Java21 (openjdk 21) |
結果 |
RE
|
実行時間 | - |
コード長 | 380 bytes |
コンパイル時間 | 3,955 ms |
コンパイル使用メモリ | 75,308 KB |
実行使用メモリ | 41,736 KB |
最終ジャッジ日時 | 2024-05-03 15:01:52 |
合計ジャッジ時間 | 11,006 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 130 ms
41,344 KB |
testcase_01 | AC | 132 ms
41,468 KB |
testcase_02 | RE | - |
testcase_03 | AC | 128 ms
41,468 KB |
testcase_04 | AC | 131 ms
41,676 KB |
testcase_05 | AC | 129 ms
41,284 KB |
testcase_06 | AC | 131 ms
41,032 KB |
testcase_07 | AC | 131 ms
41,268 KB |
testcase_08 | AC | 131 ms
40,992 KB |
testcase_09 | AC | 131 ms
41,552 KB |
testcase_10 | AC | 132 ms
41,240 KB |
testcase_11 | AC | 135 ms
41,376 KB |
testcase_12 | AC | 133 ms
41,572 KB |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | WA | - |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | WA | - |
testcase_21 | WA | - |
testcase_22 | WA | - |
testcase_23 | WA | - |
testcase_24 | WA | - |
testcase_25 | WA | - |
testcase_26 | WA | - |
testcase_27 | WA | - |
testcase_28 | WA | - |
testcase_29 | WA | - |
testcase_30 | WA | - |
testcase_31 | WA | - |
testcase_32 | WA | - |
ソースコード
import java.util.Scanner; public class Arbitrary_Mod_2007 { public static void log(Object obj) { System.out.println(obj.toString()); } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = 10000000; int h = (int) Math.floor(Math.pow(sc.nextInt(),sc.nextInt())); log(x); log(h%x); } }