結果

問題 No.3259 C++ → Rust → Python
ユーザー こめだわら
提出日時 2025-08-09 20:51:11
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 1,053 bytes
コンパイル時間 2,614 ms
コンパイル使用メモリ 276,148 KB
実行使用メモリ 7,720 KB
最終ジャッジ日時 2025-08-09 20:51:15
合計ジャッジ時間 3,700 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 16 WA * 6
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using ull = unsigned long long;

#define rep(i,n) for(ll i=0;i<n;++i)
#define all(a) (a).begin(),(a).end()
ll intpow(ll a, ll b){ ll ans = 1; while(b){ if(b & 1) ans *= a; a *= a; b /= 2; } return ans; }
ll modpow(ll a, ll b, ll p){ ll ans = 1; while(b){ if(b & 1) (ans *= a) %= p; (a *= a) %= p; b /= 2; } return ans; }
template<class T> T div_floor(T a, T b) { return a / b - ((a ^ b) < 0 && a % b); }
template<class T> T div_ceil(T a, T b) { return a / b + ((a ^ b) > 0 && a % b); }
template <typename T, typename U> inline bool chmin(T &x, U y) { return (y < x) ? (x = y, true) : false; }
template <typename T, typename U> inline bool chmax(T &x, U y) { return (x < y) ? (x = y, true) : false; }


void solve() {
    ll L,R;
    cin>>L>>R;
    ll cnt=0;
    for (ll i=L-1;i<R;i++){
        if (i==295)cnt++;
        if (i==416)cnt++;
    }
    cout<<cnt<<endl;
    return;
}


int main() {
    ll T=1;
    while (T--){
        solve();
    }
    return 0;
}
0