Borderou de evaluare (job #1426098)
Utilizator | Data | 28 aprilie 2015 22:28:06 | |
---|---|---|---|
Problema | Jocul Flip | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void calcul()’:
user.cpp:9:5: error: expected ‘,’ or ‘;’ before ‘int’
int sum=0,nr;
^
user.cpp:15:17: error: ‘nr’ was not declared in this scope
nr =nr+a[i][j]*s[j];
^
user.cpp:17:13: error: ‘sum’ was not declared in this scope
sum=sum + max(nr,-nr);
^
user.cpp:17:27: error: ‘nr’ was not declared in this scope
sum=sum + max(nr,-nr);
^
user.cpp:19:18: error: ‘sum’ was not declared in this scope
best=max(sum,best);
^
user.cpp: In function ‘int main()’:
user.cpp:40:5: error: ‘f’ was not declared in this scope
f>>m>>n;
^
user.cpp:39:5: warning: unused variable ‘bkt’ [-Wunused-variable]
bkt(0);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !