結果

問題 No.273 回文分解
ユーザー angel_p_57angel_p_57
提出日時 2016-07-25 12:06:27
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 94 bytes
コンパイル時間 347 ms
コンパイル使用メモリ 11,148 KB
実行使用メモリ 15,456 KB
最終ジャッジ日時 2023-08-25 01:33:32
合計ジャッジ時間 4,353 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 80 ms
15,124 KB
testcase_02 AC 78 ms
15,304 KB
testcase_03 AC 78 ms
15,004 KB
testcase_04 WA -
testcase_05 AC 79 ms
15,280 KB
testcase_06 AC 80 ms
15,120 KB
testcase_07 AC 79 ms
15,240 KB
testcase_08 AC 82 ms
15,048 KB
testcase_09 AC 78 ms
15,116 KB
testcase_10 AC 81 ms
15,252 KB
testcase_11 AC 80 ms
15,276 KB
testcase_12 AC 80 ms
15,044 KB
testcase_13 AC 79 ms
15,320 KB
testcase_14 AC 83 ms
15,208 KB
testcase_15 AC 82 ms
15,252 KB
testcase_16 AC 80 ms
15,292 KB
testcase_17 AC 81 ms
15,216 KB
testcase_18 WA -
testcase_19 AC 80 ms
15,044 KB
testcase_20 AC 80 ms
15,008 KB
testcase_21 AC 81 ms
15,084 KB
testcase_22 AC 83 ms
15,380 KB
testcase_23 WA -
testcase_24 AC 83 ms
15,284 KB
testcase_25 AC 82 ms
15,308 KB
testcase_26 AC 83 ms
15,456 KB
testcase_27 AC 84 ms
15,308 KB
testcase_28 AC 82 ms
15,332 KB
testcase_29 AC 82 ms
15,236 KB
testcase_30 AC 83 ms
15,292 KB
testcase_31 WA -
testcase_32 AC 79 ms
15,228 KB
testcase_33 AC 80 ms
15,300 KB
testcase_34 AC 81 ms
15,004 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

s=gets;$><<(0..n=s.size-1).map{|i|(1..n).map{|j|t=s[i,j];t!=t.reverse ? 0:t.size}}.flatten.max
0