結果

問題 No.3259 C++ → Rust → Python
ユーザー へきぼこ
提出日時 2025-09-06 13:03:17
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 622 bytes
コンパイル時間 1,860 ms
コンパイル使用メモリ 194,616 KB
実行使用メモリ 7,716 KB
最終ジャッジ日時 2025-09-06 13:03:46
合計ジャッジ時間 2,732 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (ll)(n); i++)
#define oke cout << "Yes" << '\n';
#define dame cout << "No" << '\n';
#define all(a) a.begin(), a.end()
#define rall(a) a.rbegin(), a.rend()
using HaiI = vector<vector<int>>;
using Hai2 = vector<vector<ll>>;
using HaiB = vector<vector<bool>>;
using Hai3 = vector<vector<vector<ll>>>;

int main() {
	ios::sync_with_stdio(false);
	cin.tie(nullptr);
	cout << fixed << setprecision(15);
	ll l,r;
	cin>>l>>r;
	int cut=0;
	for(int i=l+1;i<=r;i++){
		if(i==296 || i==417){
			cut++;
		}
	}
	cout<<cut<<"\n";
}
0