結果

問題 No.1299 Random Array Score
ユーザー %20%20
提出日時 2020-11-27 22:13:36
言語 Ruby
(3.3.0)
結果
AC  
実行時間 257 ms / 2,000 ms
コード長 58 bytes
コンパイル時間 420 ms
コンパイル使用メモリ 11,352 KB
実行使用メモリ 52,800 KB
最終ジャッジ日時 2023-10-01 06:20:26
合計ジャッジ時間 9,382 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 90 ms
15,064 KB
testcase_01 AC 85 ms
15,264 KB
testcase_02 AC 86 ms
15,016 KB
testcase_03 AC 255 ms
52,020 KB
testcase_04 AC 250 ms
51,152 KB
testcase_05 AC 216 ms
43,152 KB
testcase_06 AC 199 ms
40,044 KB
testcase_07 AC 208 ms
41,192 KB
testcase_08 AC 249 ms
50,768 KB
testcase_09 AC 90 ms
15,920 KB
testcase_10 AC 153 ms
28,776 KB
testcase_11 AC 101 ms
18,796 KB
testcase_12 AC 200 ms
38,696 KB
testcase_13 AC 246 ms
50,180 KB
testcase_14 AC 204 ms
39,472 KB
testcase_15 AC 205 ms
40,004 KB
testcase_16 AC 204 ms
39,756 KB
testcase_17 AC 111 ms
19,852 KB
testcase_18 AC 156 ms
30,428 KB
testcase_19 AC 176 ms
33,436 KB
testcase_20 AC 133 ms
24,948 KB
testcase_21 AC 89 ms
15,680 KB
testcase_22 AC 116 ms
20,572 KB
testcase_23 AC 208 ms
39,304 KB
testcase_24 AC 218 ms
43,156 KB
testcase_25 AC 202 ms
39,288 KB
testcase_26 AC 87 ms
15,568 KB
testcase_27 AC 117 ms
21,496 KB
testcase_28 AC 105 ms
19,656 KB
testcase_29 AC 120 ms
23,008 KB
testcase_30 AC 195 ms
38,196 KB
testcase_31 AC 125 ms
23,212 KB
testcase_32 AC 244 ms
49,888 KB
testcase_33 AC 257 ms
52,800 KB
testcase_34 AC 211 ms
49,112 KB
testcase_35 AC 257 ms
52,736 KB
testcase_36 AC 213 ms
49,300 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval'N,K,*A='+`dd`.split*?,
p A.sum*2.pow(K,M=998244353)%M
0