結果
| 問題 | No.1643 Not Substring |
| コンテスト | |
| ユーザー |
toshiro_yanagi
|
| 提出日時 | 2025-04-28 12:15:55 |
| 言語 | Ruby (4.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 239 bytes |
| 記録 | |
| コンパイル時間 | 9 ms |
| コンパイル使用メモリ | 8,960 KB |
| 実行使用メモリ | 14,720 KB |
| 最終ジャッジ日時 | 2026-07-10 09:18:17 |
| 合計ジャッジ時間 | 2,832 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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