結果
| 問題 | No.2862 NOT FOUND 404 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-03-30 22:13:52 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 469 bytes |
| 記録 | |
| コンパイル時間 | 540 ms |
| コンパイル使用メモリ | 129,356 KB |
| 実行使用メモリ | 9,208 KB |
| 最終ジャッジ日時 | 2026-07-08 03:26:32 |
| 合計ジャッジ時間 | 1,826 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 |
ソースコード
#include <vector>
#include <iostream>
#include <string>
#include <ostream>
#include <map>
#include <set>
#include <bitset>
#include <cmath>
#include <iomanip>
#include <algorithm>
#include <list>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
int main()
{
int n;
string s;
cin >> n >> s;
rep(i, n - 2)
{
if(s.substr(i,3)=="404"){
cout << "Found";
return 0;
}
}cout << "NotFound";
}