|
|
|
|
讨论 Discussion |
|
|
7567 |
#include<iostream>
using namespace std;
int main()
{
//freopen("p1464.in","r",stdin);
//freopen("p1464.out","w",stdout);
int a,b,c;
cin>>a>>b>>c;
if((b-a==1&&c-b==1)||(c-a==1&&b-c==1)||(a-b==1&&c-b==1)||(c-b==1&&a-c==1)||(a-c==1&&b-a==1)||(b-c==1&&a-b==1))
cout<<"TRUE";
else cout<<"FALSE";
fclose(stdin);
fclose(stdout);
return 0;
}
( ) |
|
|
|
|
|
|
|
|
|
Flag |
|
题号 |
P1786 |
|
其它 |
通过 |
0人 |
提交 |
41次 |
通过率 |
0% |
难度 |
1 |
|
|
|
|
|
|