結果

問題 No.1751 Fortune Nim
ユーザー Eki1009Eki1009
提出日時 2021-11-20 00:07:29
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 111 bytes
コンパイル時間 715 ms
コンパイル使用メモリ 11,480 KB
実行使用メモリ 30,260 KB
最終ジャッジ日時 2023-08-30 11:50:26
合計ジャッジ時間 7,667 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 82 ms
15,160 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 80 ms
15,244 KB
testcase_06 AC 81 ms
15,064 KB
testcase_07 AC 80 ms
15,068 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 166 ms
26,676 KB
testcase_17 AC 156 ms
25,152 KB
testcase_18 AC 185 ms
28,232 KB
testcase_19 AC 153 ms
24,404 KB
testcase_20 AC 189 ms
29,372 KB
testcase_21 AC 163 ms
25,964 KB
testcase_22 AC 191 ms
29,376 KB
testcase_23 AC 178 ms
27,788 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 AC 195 ms
30,260 KB
testcase_29 AC 200 ms
30,000 KB
testcase_30 AC 196 ms
30,036 KB
testcase_31 AC 199 ms
30,060 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

x=s=0
$<.max{|t|p~- 665496235.pow(t.split.map{s-s-=x^x^=_1.to_i}.map{_1.-_1^x}.max-s+-2[x],m=998244353)*~m/2%m}
0