結果
問題 |
No.3259 C++ → Rust → Python
|
ユーザー |
|
提出日時 | 2025-09-08 16:10:22 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 1,118 bytes |
コンパイル時間 | 1,954 ms |
コンパイル使用メモリ | 191,052 KB |
実行使用メモリ | 6,272 KB |
最終ジャッジ日時 | 2025-09-08 16:10:25 |
合計ジャッジ時間 | 3,167 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
#include<bits/stdc++.h> //#include<atcoder/all> using namespace std; //using namespace atcoder; using ll = long long; using ld = long double; //using mint = modint; //mint::set_mod(M); //using mint = modint998244353; //using mint = modint1000000007; template<class T> using pq = priority_queue<T>; //大きい順 template<class T> using pq_g = priority_queue<T, vector<T>, greater<T>>; //小さい順 #define vec_unique(v) v.erase(unique(v.begin(), v.end()), v.end()) //重複削除 #define vec_iota(v) iota(v.begin(), v.end(), 0) //0, 1, 2, 3, ..., n - 1にセット #define concat(a, b) a.insert(a.end(), b.begin(), b.end()) #define debug(x) cerr << #x << " = " << x << endl int dx[4] = {1, -1, 0, 0}; int dy[4] = {0, 0, 1, -1}; //int dx[8] = {1, 1, 0, -1, -1, -1, 0, 1}; //int dy[8] = {0, 1, 1, 1, 0, -1, -1, -1}; #define INF 2e18 #define INF2 2e9 int main() { int l, r; cin >> l >> r; int ans = 0; if(l <= 295 && r >= 296) { ans++; } if(l <= 416 && r >= 417) { ans++; } cout << ans << endl; //cout << fixed << setprecision(15) << << endl; return 0; }