結果

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

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int l, r;
	cin >> l >> r;
	function<bool(int)> cnt = [&](int v){return l <= v && v <= r; };
	cout << int(0) + (cnt(295) && cnt(296)) + (cnt(416) && cnt(417));
}
0