結果
問題 | No.2862 NOT FOUND 404 |
ユーザー |
|
提出日時 | 2024-09-02 21:16:12 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 39 ms / 2,000 ms |
コード長 | 153 bytes |
コンパイル時間 | 160 ms |
コンパイル使用メモリ | 82,344 KB |
実行使用メモリ | 53,352 KB |
最終ジャッジ日時 | 2024-09-02 21:16:14 |
合計ジャッジ時間 | 1,420 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 12 |
ソースコード
n=int(input()) s=input() for i in range(n-2): if s[i]=="4" and s[i+1]=="0" and s[i+2]=="4": print("Found") exit() print("NotFound")