2019-05-21

10:15:00

加油,加油 !!!

 #include <bits/stdc++.h>
using namespace std;
int main()
{
int n, a, b;
while(~scanf("%d %d %d", &n, &a, &b))
{
a = n - a;
if(a >= b + )
{
cout << b + ;
}
else
{
cout << a;
}
cout << endl;
}
return ;
}
05-26 17:21