Borderou de evaluare (job #1465809)
Utilizator | Data | 28 iulie 2015 00:32:43 | |
---|---|---|---|
Problema | Pascal | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c: In function ‘nr’:
user.c:66:42: error: expected ‘;’ before ‘)’ token
count += total[2] > 0 ? 1 : 0);
^
user.c:66:42: error: expected statement before ‘)’ token
user.c:67:9: error: ‘else’ without a previous ‘if’
else if (d == 3)
^
user.c:68:42: error: expected ‘;’ before ‘)’ token
count += total[3] > 0 ? 1 : 0);
^
user.c:68:42: error: expected statement before ‘)’ token
user.c:69:9: error: ‘else’ without a previous ‘if’
else if (d == 4)
^
user.c:70:43: error: expected ‘;’ before ‘)’ token
count += total[2] >= 2 ? 1 : 0);
^
user.c:70:43: error: expected statement before ‘)’ token
user.c:71:9: error: ‘else’ without a previous ‘if’
else if (d == 5)
^
user.c:72:42: error: expected ‘;’ before ‘)’ token
count += total[5] > 0 ? 1 : 0);
^
user.c:72:42: error: expected statement before ‘)’ token
user.c:73:9: error: ‘else’ without a previous ‘if’
else if (d == 6)
^
user.c:74:52: error: expected ‘;’ before ‘)’ token
count += (total[2] && total[3]) ? 1 : 0);
^
user.c:74:52: error: expected statement before ‘)’ token
user.c: In function ‘main’:
user.c:99:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d %d", &R, &D);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !