結果
問題 |
No.810 割った余りの個数
|
ユーザー |
|
提出日時 | 2019-04-14 19:00:00 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 218 bytes |
コンパイル時間 | 2,343 ms |
コンパイル使用メモリ | 192,200 KB |
最終ジャッジ日時 | 2025-01-07 02:11:45 |
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 30 |
ソースコード
#define _USE_MATH_DEFINES #include <bits/stdc++.h> using namespace std; signed main() { ios::sync_with_stdio(false); cin.tie(0); int l, r, m; cin >> l >> r >> m; cout << min(m, r - l + 1) << endl; return 0; }