Borderou de evaluare (job #1332239)
| Utilizator | Data | 1 februarie 2015 20:25:17 | |
|---|---|---|---|
| Problema | AI | 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:135:26: error: ‘sort’ was not declared in this scope
sort(obs+1,obs+k+1,compx);
^
user.cpp: At global scope:
user.cpp:246:13: error: redefinition of ‘std::ifstream fin’
ifstream fin("barbar.in");
^
user.cpp:25:10: error: ‘std::ifstream fin’ previously declared here
ifstream fin("ai.in");
^
user.cpp:247:14: error: redefinition of ‘std::ofstream fout’
ofstream fout("barbar.out");
^
user.cpp:26:10: error: ‘std::ofstream fout’ previously declared here
ofstream fout("ai.out");
^
user.cpp:252:6: error: conflicting declaration ‘char x’
char x;
^
user.cpp:23:56: error: ‘x’ has a previous declaration as ‘int x’
int n, xl1, xl2, yl1, yl2, xt, yt, xr1, xr2, yr1, yr2, x, y;
^
user.cpp: In function ‘int main()’:
user.cpp:279:5: error: redefinition of ‘int main()’
int main(){
^
user.cpp:120:5: error: ‘int main()’ previously defined here
int main()
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
