|
|
|
|
讨论 Discussion |
|
|
音速雷霆 |
#include<iostream>
using namespace std;
int main(){
//freopen("p1683.in","r",stdin);
//freopen("p1683.out","w",stdout);
int n,i,l,k,a,b,s;
cin>>n>>i>>l;
a=n;
if(i<a)a=i;
if(l>a)a=l;
b=n;
if(i<b)b=i;
if(l<b)b=l;
s=a-b;
cout<<s;
fclose(stdin);
fclose(stdout);
return 0;
}
( ) |
|
|
|
|
|
|
|
|
|
Flag |
|
题号 |
P1786 |
|
其它 |
通过 |
0人 |
提交 |
41次 |
通过率 |
0% |
难度 |
1 |
|
|
|
|
|
|