結果
| 問題 | No.2862 NOT FOUND 404 |
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-31 17:18:24 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 43 ms / 2,000 ms |
| コード長 | 211 bytes |
| 記録 | |
| コンパイル時間 | 242 ms |
| コンパイル使用メモリ | 82,112 KB |
| 実行使用メモリ | 53,996 KB |
| 最終ジャッジ日時 | 2025-03-31 17:19:10 |
| 合計ジャッジ時間 | 1,747 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
n = int(input())
s = input().strip()
found = False
for i in range(len(s) - 2):
if s[i] == '4' and s[i+1] == '0' and s[i+2] == '4':
found = True
break
print("Found" if found else "NotFound")
lam6er