結果

問題 No.193 筒の数式
ユーザー mmmpppmmmppp
提出日時 2017-03-05 00:57:16
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 94 bytes
コンパイル時間 195 ms
コンパイル使用メモリ 11,280 KB
実行使用メモリ 15,308 KB
最終ジャッジ日時 2023-09-05 05:44:55
合計ジャッジ時間 2,853 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,260 KB
testcase_01 AC 80 ms
15,140 KB
testcase_02 AC 79 ms
15,308 KB
testcase_03 AC 81 ms
15,076 KB
testcase_04 AC 80 ms
15,284 KB
testcase_05 AC 80 ms
15,124 KB
testcase_06 AC 82 ms
15,028 KB
testcase_07 AC 81 ms
15,120 KB
testcase_08 AC 82 ms
15,080 KB
testcase_09 AC 82 ms
15,152 KB
testcase_10 AC 80 ms
15,288 KB
testcase_11 AC 82 ms
15,116 KB
testcase_12 AC 80 ms
15,172 KB
testcase_13 AC 84 ms
15,076 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:2: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
Syntax OK

ソースコード

diff #

s=gets.chop
p (0..s.size).map{|i|$_=s[i,$$]+s[0,i];!/^\d.*\d$/?0:eval($_.gsub /011/,'11')}.max
0