Borderou de evaluare (job #1377538)
Utilizator | Data | 5 martie 2015 22:26:59 | |
---|---|---|---|
Problema | Taxi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int Solve(int, int, int, int, int, int)’:
user.cpp:41:12: error: ‘xmin’ was not declared in this scope
ret += xmin*ymin;
^
user.cpp:41:17: error: ‘ymin’ was not declared in this scope
ret += xmin*ymin;
^
user.cpp:42:15: error: ‘xmax’ was not declared in this scope
ret += (A-xmax)*(B-ymax);
^
user.cpp:42:24: error: ‘ymax’ was not declared in this scope
ret += (A-xmax)*(B-ymax);
^
user.cpp: In function ‘int main()’:
user.cpp:48:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taxi.in","r",stdin);
^
user.cpp:49:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("taxi.out","w",stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !