結果
問題 |
No.1643 Not Substring
|
ユーザー |
![]() |
提出日時 | 2025-04-28 11:03:44 |
言語 | Ruby (3.4.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 212 bytes |
コンパイル時間 | 314 ms |
コンパイル使用メモリ | 8,228 KB |
実行使用メモリ | 13,056 KB |
最終ジャッジ日時 | 2025-04-28 11:03:49 |
合計ジャッジ時間 | 3,910 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 7 WA * 19 |
コンパイルメッセージ
Syntax OK
ソースコード
class Main def start main(gets) end def main(s) t = "" s.each_char do |c| if c == "a" t += c else break end end puts t + "a" end end Main.new.start