結果
問題 |
No.3259 C++ → Rust → Python
|
ユーザー |
|
提出日時 | 2025-09-06 13:03:40 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 55 ms / 2,000 ms |
コード長 | 347 bytes |
コンパイル時間 | 325 ms |
コンパイル使用メモリ | 12,032 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2025-09-06 13:04:20 |
合計ジャッジ時間 | 1,990 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
def ip():return int(input()) def mp():return map(int, input().split()) def lmp():return list(map(int, input().split())) # 岩プロコン2 A No.3259 C++ → Rust → Python L, R = mp() if R <= 295 or (296 <= L and R <= 416) or 417 <= L: print(0) elif (L <= 295 and 296 <= R <= 416) or (296 <= L <= 416 and 417 <= R): print(1) else: print(2)