aaaaa
This commit is contained in:
parent
43c77c16c8
commit
1cb2cefad6
@ -13,7 +13,7 @@ int main(){
|
|||||||
if(ch==EOF||ch==' ')break;
|
if(ch==EOF||ch==' ')break;
|
||||||
pol[idx]=ch;
|
pol[idx]=ch;
|
||||||
}
|
}
|
||||||
for(int i=0, p=1;i<strlen(pol);i++){
|
for(int i=0, p=0;i<strlen(pol);i++){
|
||||||
if(pol[i]=='\n')p++;
|
if(pol[i]=='\n')p++;
|
||||||
else if((pol[i]<='9'&&pol[i]>='0')||(pol[i]=='.')||(pol[i]==EOF)||(pol[i]==' '));
|
else if((pol[i]<='9'&&pol[i]>='0')||(pol[i]=='.')||(pol[i]==EOF)||(pol[i]==' '));
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user