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;
|
bool second = false;
|
||||||
while(1){
|
while(1){
|
||||||
c = getchar();
|
c = getchar();
|
||||||
if(c <= 255 && c >= 0){
|
if(c == ' ' || c == '+' || c == '\n' || c == '-' || c == '/' || c == '*' || c == '='){
|
||||||
if(c == '\n'){
|
if(c == '\n'){
|
||||||
break;
|
break;
|
||||||
}else if(c == ' '){
|
}else if(c == ' '){
|
||||||
@ -33,8 +33,6 @@ int main ()
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
if(i == 2)
|
|
||||||
break;
|
|
||||||
c = 0;
|
c = 0;
|
||||||
int r = scanf("%d",&c);
|
int r = scanf("%d",&c);
|
||||||
b[i++] = c;
|
b[i++] = c;
|
||||||
@ -53,4 +51,4 @@ int main ()
|
|||||||
else
|
else
|
||||||
printf("ZLE\n");
|
printf("ZLE\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user