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