結果
問題 |
No.3259 C++ → Rust → Python
|
ユーザー |
|
提出日時 | 2025-09-06 13:39:56 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 230 bytes |
コンパイル時間 | 486 ms |
コンパイル使用メモリ | 61,796 KB |
実行使用メモリ | 7,716 KB |
最終ジャッジ日時 | 2025-09-06 13:40:20 |
合計ジャッジ時間 | 1,417 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
#include<iostream> #include<cassert> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int L,R;cin>>L>>R; int ans=0; for(int i=L+1;i<=R;i++) { if(i==296||i==417)ans++; } cout<<ans<<"\n"; }