結果

問題 No.2007 Arbitrary Mod (Easy)
ユーザー Noah CollinsNoah Collins
提出日時 2022-11-21 14:58:01
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 86 bytes
コンパイル時間 819 ms
コンパイル使用メモリ 81,784 KB
実行使用メモリ 106,524 KB
最終ジャッジ日時 2023-10-22 06:07:30
合計ジャッジ時間 6,167 ms
ジャッジサーバーID
(参考情報)
judge9 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
53,512 KB
testcase_01 AC 39 ms
53,512 KB
testcase_02 RE -
testcase_03 AC 39 ms
53,512 KB
testcase_04 AC 40 ms
53,512 KB
testcase_05 AC 40 ms
53,512 KB
testcase_06 AC 38 ms
53,512 KB
testcase_07 AC 39 ms
53,512 KB
testcase_08 AC 38 ms
53,512 KB
testcase_09 AC 39 ms
53,512 KB
testcase_10 AC 41 ms
53,512 KB
testcase_11 AC 39 ms
53,512 KB
testcase_12 AC 39 ms
53,512 KB
testcase_13 AC 132 ms
90,340 KB
testcase_14 AC 54 ms
63,752 KB
testcase_15 AC 172 ms
105,488 KB
testcase_16 AC 125 ms
89,020 KB
testcase_17 AC 133 ms
90,340 KB
testcase_18 AC 158 ms
98,008 KB
testcase_19 AC 180 ms
106,524 KB
testcase_20 AC 103 ms
86,236 KB
testcase_21 AC 48 ms
59,656 KB
testcase_22 AC 85 ms
76,220 KB
testcase_23 AC 160 ms
97,896 KB
testcase_24 AC 45 ms
57,608 KB
testcase_25 AC 175 ms
103,112 KB
testcase_26 AC 80 ms
76,428 KB
testcase_27 AC 128 ms
89,020 KB
testcase_28 AC 80 ms
76,792 KB
testcase_29 AC 175 ms
103,968 KB
testcase_30 AC 103 ms
86,296 KB
testcase_31 AC 124 ms
89,020 KB
testcase_32 AC 166 ms
102,212 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

M=998244353
a,n=map(int,input().split())
b=1
exec('b*=a%M;b%=M;'*n)
print(f'{M}\n{b}')
0