結果
問題 |
No.3259 C++ → Rust → Python
|
ユーザー |
|
提出日時 | 2025-09-07 21:13:38 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 294 bytes |
コンパイル時間 | 3,794 ms |
コンパイル使用メモリ | 274,180 KB |
実行使用メモリ | 6,272 KB |
最終ジャッジ日時 | 2025-09-07 21:13:43 |
合計ジャッジ時間 | 4,614 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { cin.tie(nullptr); ios::sync_with_stdio(false); int l, r; cin >> l >> r; auto f = [](int i) { if (i < 296) return 0; if (i < 417) return 1; return 2; }; int li = f(l); int ri = f(r); cout << ri - li << endl; }