結果
| 問題 | No.2862 NOT FOUND 404 |
| コンテスト | |
| ユーザー |
lam6er
|
| 提出日時 | 2025-03-31 17:18:24 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 56 ms / 2,000 ms |
| コード長 | 211 bytes |
| 記録 | |
| コンパイル時間 | 226 ms |
| コンパイル使用メモリ | 95,976 KB |
| 実行使用メモリ | 79,016 KB |
| 最終ジャッジ日時 | 2026-07-08 03:51:30 |
| 合計ジャッジ時間 | 2,353 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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