結果
問題 |
No.3259 C++ → Rust → Python
|
ユーザー |
![]() |
提出日時 | 2025-09-06 13:16:14 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 826 bytes |
コンパイル時間 | 4,416 ms |
コンパイル使用メモリ | 249,724 KB |
実行使用メモリ | 6,272 KB |
最終ジャッジ日時 | 2025-09-06 13:18:09 |
合計ジャッジ時間 | 5,110 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
#include <bits/stdc++.h> #include <atcoder/all> using namespace std; using namespace atcoder; using ll = long long; constexpr ll mod = 1e9 + 7; constexpr ll INF = (1LL << 62) - (1LL << 31) - 1; #define REP(i, init, n) for(int i = (int)(init); i < (int)(n); i++) #define RREP(i, init, n) for(int i = (int)(init); i >= (int)(n); i--) #define All(A) A.begin(), A.end() #define rAll(A) A.rbegin(), A.rend() #define vi vector<int> #define vl vector<long> #define vvi vector<vector<int>> #define vvl vector<vector<long>> #define pint pair<int, int> #define plong pair<long, long> int L, R; void solve() { int ans = 0; if(L <= 295 && R >= 296) ans++; if(L <= 416 && R >= 417) ans++; cout << ans << endl; } int main() { cin.tie(nullptr); ios::sync_with_stdio(false); cin >> L >> R; solve(); }