zmeny
This commit is contained in:
parent
85e8add03a
commit
901cc861df
@ -11,7 +11,7 @@ int main() {
|
||||
for (int i = 0; i < VELKOST_POLA; ++i) {
|
||||
int value = 0;
|
||||
int r = scanf("%d", &value);
|
||||
if(r > 0) {
|
||||
if(r > 0 && value > 0) {
|
||||
pole[i] = value;
|
||||
participant_count++;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user