funguje
This commit is contained in:
parent
10e2081a82
commit
16fc5d4803
@ -14,7 +14,7 @@ int main(){
|
||||
int idx=0;
|
||||
while (1){
|
||||
int r=scanf("%d",&value);
|
||||
if(r!=1||idx==VELKOST_POLA){
|
||||
if(r!=1||idx==VELKOST_POLA||pole[idx]<0){
|
||||
break;
|
||||
}
|
||||
pole[idx]=value;
|
||||
|
Loading…
Reference in New Issue
Block a user