結果

問題 No.946 箱箱箱
ユーザー 👑 hos.lyrichos.lyric
提出日時 2019-12-09 03:32:34
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 147 bytes
コンパイル時間 370 ms
コンパイル使用メモリ 11,276 KB
実行使用メモリ 69,968 KB
最終ジャッジ日時 2023-09-02 00:34:19
合計ジャッジ時間 43,678 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 83 ms
15,292 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 964 ms
69,168 KB
testcase_08 AC 977 ms
69,328 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 965 ms
69,320 KB
testcase_13 AC 964 ms
69,140 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 972 ms
69,624 KB
testcase_20 AC 83 ms
15,520 KB
testcase_21 AC 969 ms
69,236 KB
testcase_22 WA -
testcase_23 WA -
testcase_24 WA -
testcase_25 AC 972 ms
69,420 KB
testcase_26 WA -
testcase_27 AC 987 ms
69,428 KB
testcase_28 WA -
testcase_29 WA -
testcase_30 AC 983 ms
69,472 KB
testcase_31 WA -
testcase_32 AC 953 ms
69,632 KB
testcase_33 WA -
testcase_34 WA -
testcase_35 WA -
testcase_36 WA -
testcase_37 WA -
testcase_38 AC 972 ms
69,232 KB
testcase_39 AC 955 ms
69,408 KB
testcase_40 AC 974 ms
69,708 KB
testcase_41 WA -
testcase_42 AC 966 ms
69,300 KB
testcase_43 WA -
testcase_44 AC 964 ms
69,312 KB
testcase_45 WA -
testcase_46 WA -
testcase_47 AC 81 ms
15,228 KB
testcase_48 AC 81 ms
15,172 KB
testcase_49 AC 81 ms
15,124 KB
testcase_50 AC 81 ms
15,228 KB
testcase_51 WA -
testcase_52 AC 82 ms
15,144 KB
testcase_53 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

f=a=$<.map &:to_i
n=a[0]
n.downto(0){|i|g={};s=0;(i+1).upto(n){|j|s^=a[j];g[s^f[j]]=1};n.downto(0){|x|g[x]||f[i]=x}}
print:Taka,f[0]>0?:h: :n,:ashi
0