結果

問題 No.193 筒の数式
ユーザー cielciel
提出日時 2015-04-26 22:38:36
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 93 bytes
コンパイル時間 131 ms
コンパイル使用メモリ 11,432 KB
実行使用メモリ 15,292 KB
最終ジャッジ日時 2023-09-18 12:09:28
合計ジャッジ時間 2,698 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 82 ms
15,204 KB
testcase_03 AC 83 ms
15,244 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 84 ms
15,288 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 81 ms
15,172 KB
testcase_11 AC 82 ms
15,120 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 AC 82 ms
15,292 KB
testcase_15 AC 81 ms
15,100 KB
testcase_16 AC 82 ms
15,032 KB
testcase_17 WA -
testcase_18 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

s=gets
r=eval s
(1...s.size).each{|i|r=[r,eval(s[i..-1]+s[0,i])].max if s[i-1,2]=~/\d\d/}
p r
0