結果
問題 |
No.2862 NOT FOUND 404
|
ユーザー |
![]() |
提出日時 | 2024-09-13 17:49:26 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 295 bytes |
コンパイル時間 | 2,382 ms |
コンパイル使用メモリ | 192,600 KB |
最終ジャッジ日時 | 2025-02-24 06:58:19 |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 7 WA * 5 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { int N; cin >> N; string S; cin >> S; for (int i = 0; i < N - 2; i++) { if (S.substr(0, 3) == "404") { cout << "Found"; return 0; } } cout << "NotFound"; }