結果
| 問題 | No.2862 NOT FOUND 404 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-30 23:22:01 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 63 ms / 2,000 ms |
| + 202µs | |
| コード長 | 226 bytes |
| 記録 | |
| コンパイル時間 | 278 ms |
| コンパイル使用メモリ | 96,108 KB |
| 実行使用メモリ | 79,052 KB |
| 最終ジャッジ日時 | 2026-08-25 10:04:12 |
| 合計ジャッジ時間 | 2,426 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
def main():
n = int(input())
s = input().strip()
for i in range(n - 2):
if s[i] == "4" and s[i + 1] == "0" and s[i + 2] == "4":
print("Found")
exit(0)
print("NotFound")
main()