結果
| 問題 |
No.3259 C++ → Rust → Python
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-09-06 13:13:32 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 363 bytes |
| コンパイル時間 | 3,164 ms |
| コンパイル使用メモリ | 274,308 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2025-09-06 13:15:35 |
| 合計ジャッジ時間 | 3,867 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int l,r;cin>>l>>r;
if(l<=295){
if(r>=296){
if(r>=417){
cout<<2<<endl;
}
else{
cout<<1<<endl;
}
}
else{
cout<<0<<endl;
}
}
else if(l<=416){
if(r>=417){
cout<<1<<endl;
}
else cout<<0<<endl;
}
else cout<<0<<endl;
}