Borderou de evaluare (job #1780654)
| Utilizator | Data | 16 octombrie 2016 14:43:45 | |
|---|---|---|---|
| Problema | Text | 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:14:9: error: expected ‘;’ before ‘for’
for(int i=0;i<line.size();++i)
^
user.cpp:14:21: error: ‘i’ was not declared in this scope
for(int i=0;i<line.size();++i)
^
user.cpp:14:38: error: expected ‘;’ before ‘)’ token
for(int i=0;i<line.size();++i)
^
user.cpp:12:9: warning: unused variable ‘cnt’ [-Wunused-variable]
int cnt=0,car=0,lit=0;
^
user.cpp:12:15: warning: unused variable ‘car’ [-Wunused-variable]
int cnt=0,car=0,lit=0;
^
user.cpp:12:21: warning: unused variable ‘lit’ [-Wunused-variable]
int cnt=0,car=0,lit=0;
^
user.cpp:33:1: error: expected ‘}’ at end of input
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
