You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
239 B
23 lines
239 B
11 months ago
|
int a;
|
||
|
int b;
|
||
|
int main(){
|
||
|
a = getint();
|
||
|
b = getint();
|
||
|
if ( a == b ){
|
||
|
return 1;
|
||
|
}
|
||
|
if ( a <= b ){
|
||
|
return 2;
|
||
|
}
|
||
|
if ( a < b ){
|
||
|
return 3;
|
||
|
}
|
||
|
if ( a != b){
|
||
|
return 4;
|
||
|
}
|
||
|
if ( a >= b){
|
||
|
return 5;
|
||
|
}
|
||
|
return 0;
|
||
|
}
|