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