結果

問題 No.197 手品
ユーザー mmmpppmmmppp
提出日時 2017-03-03 14:03:49
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 105 bytes
コンパイル時間 53 ms
コンパイル使用メモリ 11,520 KB
実行使用メモリ 15,380 KB
最終ジャッジ日時 2023-09-09 21:11:46
合計ジャッジ時間 5,384 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,036 KB
testcase_01 AC 86 ms
15,036 KB
testcase_02 AC 81 ms
15,308 KB
testcase_03 AC 76 ms
15,300 KB
testcase_04 AC 78 ms
15,224 KB
testcase_05 WA -
testcase_06 AC 85 ms
15,144 KB
testcase_07 AC 81 ms
15,196 KB
testcase_08 WA -
testcase_09 AC 78 ms
15,044 KB
testcase_10 AC 78 ms
15,188 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 AC 81 ms
15,196 KB
testcase_18 AC 79 ms
15,200 KB
testcase_19 AC 78 ms
15,132 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 WA -
testcase_23 AC 78 ms
15,264 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 77 ms
15,148 KB
testcase_28 WA -
testcase_29 AC 80 ms
15,276 KB
testcase_30 AC 78 ms
15,144 KB
testcase_31 AC 77 ms
15,204 KB
testcase_32 AC 77 ms
15,084 KB
testcase_33 AC 77 ms
15,044 KB
testcase_34 WA -
testcase_35 WA -
testcase_36 WA -
testcase_37 AC 77 ms
15,172 KB
testcase_38 WA -
testcase_39 AC 78 ms
15,140 KB
testcase_40 AC 78 ms
15,308 KB
testcase_41 WA -
testcase_42 AC 77 ms
15,104 KB
testcase_43 AC 78 ms
15,284 KB
testcase_44 AC 77 ms
15,160 KB
testcase_45 AC 77 ms
15,136 KB
testcase_46 AC 79 ms
15,268 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

b,n,a=$<.read.split
puts a.count(?o)!=b.count(?o)||a!=b&&(n!='1
'||a==b.chop.reverse)? :SUCCESS:'FAILURE'
0