Borderou de evaluare (job #1239498)
Utilizator | Data | 9 octombrie 2014 09:08:58 | |
---|---|---|---|
Problema | Numarare triunghiuri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:9: error: ‘k’ was not declared in this scope
for(k=j+1;k<=n;k++)
^
user.cpp:28:9: error: expected primary-expression before ‘else’
else break;
^
user.cpp:28:9: error: expected ‘;’ before ‘else’
user.cpp:9:13: warning: unused variable ‘l’ [-Wunused-variable]
int i,n,l,m,q,j,cnt=0,aux,v[30002];
^
user.cpp:9:15: warning: unused variable ‘m’ [-Wunused-variable]
int i,n,l,m,q,j,cnt=0,aux,v[30002];
^
user.cpp:9:17: warning: unused variable ‘q’ [-Wunused-variable]
int i,n,l,m,q,j,cnt=0,aux,v[30002];
^
user.cpp:9:21: warning: unused variable ‘cnt’ [-Wunused-variable]
int i,n,l,m,q,j,cnt=0,aux,v[30002];
^
user.cpp: At global scope:
user.cpp:31:5: error: ‘out’ does not name a type
out<<cnt;
^
user.cpp:32:5: error: expected unqualified-id before ‘return’
return 0;
^
user.cpp:33:1: error: expected declaration before ‘}’ token
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !