Borderou de evaluare (job #2216510)
Utilizator | Data | 26 iunie 2018 23:17:47 | |
---|---|---|---|
Problema | Loto | 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:11:5: error: ‘clasic’ was not declared in this scope
clasic c;
^~~~~~
user.cpp:16:20: error: ‘c’ was not declared in this scope
fin >> c.val;
^
user.cpp:18:43: error: ‘v’ was not declared in this scope
for (unsigned int j = 0; j <= v.size(); j++)
^
user.cpp:25:17: error: ‘v’ was not declared in this scope
v.push_back(c);
^
user.cpp:29:38: error: ‘v’ was not declared in this scope
for (unsigned int i = 0; i < v.size(); i++)
^
user.cpp:33:9: error: ‘v’ was not declared in this scope
v.clear();
^
user.cpp:37:10: error: redeclaration of ‘int T’
int T, N, x, s;
^
user.cpp:10:9: note: ‘int T’ previously declared here
int T, N, x, ok, s;
^
user.cpp:37:13: error: redeclaration of ‘int N’
int T, N, x, s;
^
user.cpp:10:12: note: ‘int N’ previously declared here
int T, N, x, ok, s;
^
user.cpp:37:16: error: redeclaration of ‘int x’
int T, N, x, s;
^
user.cpp:10:15: note: ‘int x’ previously declared here
int T, N, x, ok, s;
^
user.cpp:37:19: error: redeclaration of ‘int s’
int T, N, x, s;
^
user.cpp:10:22: note: ‘int s’ previously declared here
int T, N, x, ok, s;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !