結果

問題 No.1396 Giri
ユーザー kotatsugamekotatsugame
提出日時 2021-02-15 18:00:02
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 90 bytes
コンパイル時間 72 ms
コンパイル使用メモリ 11,332 KB
実行使用メモリ 21,348 KB
最終ジャッジ日時 2023-09-30 15:04:48
合計ジャッジ時間 5,967 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 101 ms
15,592 KB
testcase_02 AC 384 ms
21,160 KB
testcase_03 WA -
testcase_04 AC 95 ms
15,560 KB
testcase_05 AC 381 ms
21,088 KB
testcase_06 AC 94 ms
15,472 KB
testcase_07 AC 95 ms
15,632 KB
testcase_08 AC 94 ms
15,480 KB
testcase_09 AC 92 ms
15,516 KB
testcase_10 AC 94 ms
15,476 KB
testcase_11 AC 94 ms
15,392 KB
testcase_12 AC 94 ms
15,512 KB
testcase_13 AC 93 ms
15,636 KB
testcase_14 AC 92 ms
15,608 KB
testcase_15 AC 94 ms
15,604 KB
testcase_16 AC 96 ms
15,636 KB
testcase_17 AC 97 ms
15,720 KB
testcase_18 AC 113 ms
15,932 KB
testcase_19 AC 238 ms
18,708 KB
testcase_20 AC 250 ms
18,960 KB
testcase_21 AC 375 ms
21,276 KB
testcase_22 AC 379 ms
20,944 KB
testcase_23 AC 379 ms
21,180 KB
testcase_24 AC 378 ms
21,280 KB
testcase_25 AC 379 ms
21,348 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

#!ruby -nrprime
s=1
p Prime.each(n=$_.to_i).map{s=s*_1**Math.log(n,_1).to_i%998244353}[-2]
0