結果
| 問題 | No.3259 C++ → Rust → Python |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-01-05 01:02:17 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| + 372µs | |
| コード長 | 439 bytes |
| 記録 | |
| コンパイル時間 | 998 ms |
| コンパイル使用メモリ | 210,108 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-20 01:14:26 |
| 合計ジャッジ時間 | 2,832 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int L, R;
cin >> L >> R;
int ans = 0;
if (L <= 295) {
if (R <= 295) {
ans = 0;
} else if (R <= 416) {
ans = 1;
} else
ans = 2;
} else if (L <= 416) {
if (R <= 416) {
ans = 0;
} else {
ans = 1;
}
} else
ans = 0;
cout << ans << '\n';
}