結果
| 問題 |
No.1643 Not Substring
|
| コンテスト | |
| ユーザー |
toshiro_yanagi
|
| 提出日時 | 2025-04-28 12:15:55 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 239 bytes |
| コンパイル時間 | 446 ms |
| コンパイル使用メモリ | 8,192 KB |
| 実行使用メモリ | 13,056 KB |
| 最終ジャッジ日時 | 2025-04-28 12:15:59 |
| 合計ジャッジ時間 | 3,993 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 9 WA * 17 |
コンパイルメッセージ
Syntax OK
ソースコード
class Main
def start
main(input)
end
private
def main(s)
for i in 1...1000
x = "a" * i
if not s.include?(x)
puts x
break
end
end
end
def input
gets
end
end
Main.new.start
toshiro_yanagi