結果

問題 No.3259 C++ → Rust → Python
ユーザー ロロット
提出日時 2025-09-06 13:05:12
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 472 bytes
コンパイル時間 3,266 ms
コンパイル使用メモリ 274,936 KB
実行使用メモリ 7,720 KB
最終ジャッジ日時 2025-09-06 13:05:21
合計ジャッジ時間 4,149 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 16 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define ALL(a) (a).begin(), (a).end()
#define Yes cout << "Yes" << endl
#define No cout << "No" << endl
#define endl '\n'

int main() {
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    int L, R;
    cin >> L >> R;
    int ans = 0;
    int n = L;
    while (n <= R) {
        n++;
        if (n == 296)
            ans++;
        if (n == 417)
            ans++;
    }
    cout << ans << endl;
}
0