結果
問題 | No.495 (^^*) Easy |
ユーザー | akko_yukky |
提出日時 | 2017-04-21 18:03:37 |
言語 | Ruby (3.3.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 95 bytes |
コンパイル時間 | 62 ms |
コンパイル使用メモリ | 11,224 KB |
実行使用メモリ | 15,376 KB |
最終ジャッジ日時 | 2023-09-27 11:01:36 |
合計ジャッジ時間 | 1,185 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 74 ms
15,084 KB |
testcase_01 | AC | 79 ms
15,296 KB |
testcase_02 | RE | - |
testcase_03 | AC | 73 ms
15,164 KB |
testcase_04 | AC | 77 ms
15,024 KB |
testcase_05 | AC | 76 ms
15,204 KB |
testcase_06 | AC | 77 ms
15,376 KB |
コンパイルメッセージ
Syntax OK
ソースコード
str = gets str.gsub!("(^^*)","l").gsub!("(*^^)","r") puts "#{str.count("l")} #{str.count("r")}"