結果
問題 |
No.3259 C++ → Rust → Python
|
ユーザー |
![]() |
提出日時 | 2025-09-06 13:01:37 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 491 bytes |
コンパイル時間 | 3,214 ms |
コンパイル使用メモリ | 275,528 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-09-06 13:01:47 |
合計ジャッジ時間 | 3,741 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
//#define _GLIBCXX_DEBUG #include <bits/stdc++.h> using namespace std; #define rep(i, n) for (ll i = 0; i < (ll)(n); i++) #define all(a) (a).begin(), (a).end() using ll = long long; const ll INF32 = 2e9; const ll INF64 = 4e18; void printYN(bool ok){ if(ok)cout << "Yes" << endl; else cout << "No" << endl; return; } int main() { int L, R; cin >> L >> R; int ans = 0; if(L<=295&&296<=R)ans++; if(L<=416&&417<=R)ans++; cout << ans << endl; return 0; }