SAD
This commit is contained in:
parent
41455fe14e
commit
b3516cc6c7
BIN
du4/program
BIN
du4/program
Binary file not shown.
@ -8,7 +8,7 @@ int main ()
|
||||
bool second = false;
|
||||
while(1){
|
||||
c = getchar();
|
||||
if(c <= 255 && c >= 0){
|
||||
if(c == ' ' || c == '+' || c == '\n' || c == '-' || c == '/' || c == '*' || c == '='){
|
||||
if(c == '\n'){
|
||||
break;
|
||||
}else if(c == ' '){
|
||||
@ -33,8 +33,6 @@ int main ()
|
||||
continue;
|
||||
}
|
||||
}else{
|
||||
if(i == 2)
|
||||
break;
|
||||
c = 0;
|
||||
int r = scanf("%d",&c);
|
||||
b[i++] = c;
|
||||
@ -53,4 +51,4 @@ int main ()
|
||||
else
|
||||
printf("ZLE\n");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user