結果
| 問題 |
No.810 割った余りの個数
|
| コンテスト | |
| ユーザー |
rinrinta121
|
| 提出日時 | 2019-04-25 17:20:32 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 364 bytes |
| コンパイル時間 | 746 ms |
| コンパイル使用メモリ | 74,008 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-20 20:06:27 |
| 合計ジャッジ時間 | 1,838 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 15 WA * 15 |
ソースコード
#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<cmath>
#include<stdio.h>
#include<queue>
#include <climits>
const int mod = 1e9 + 7;
const int INF = 1e9;
using namespace std;
typedef long long ll;
int main()
{
int l,r,m;
cin >> l >> r >> m;
if(r - l >= m){
cout << m;
}else{
cout << r - l;
}
}
rinrinta121