結果

問題 No.2862 NOT FOUND 404
ユーザー hatsukiyurahatsukiyura
提出日時 2024-08-31 19:34:11
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 296 bytes
コンパイル時間 3,045 ms
コンパイル使用メモリ 243,744 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-08-31 19:34:16
合計ジャッジ時間 4,028 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using i64 = long long;

int main() {

    std::cin.tie(nullptr)->sync_with_stdio(false);

    int n;
    std::cin >> n;
    std::string s;
    std::cin >> s;

    std::cout << (s.find("404") != size_t(-1) ? "Found" : "NotFound") << '\n';

    return 0;
}
0