Borderou de evaluare (job #685570)
Utilizator | Data | 21 februarie 2012 00:00:03 | |
---|---|---|---|
Problema | Bursa | Status | done |
Runda | monthly1 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void citeste()’:
user.cpp:18: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result
user.cpp: In function ‘void afiseaza()’:
user.cpp:48: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
In file included from /usr/include/c++/4.4/algorithm:61,
from user.cpp:2:
/usr/include/c++/4.4/bits/stl_algobase.h: In function ‘const _Tp& std::max(const _Tp&, const _Tp&, _Compare) [with _Tp = long long int, _Compare = long long int]’:
user.cpp:37: instantiated from here
/usr/include/c++/4.4/bits/stl_algobase.h:256: error: ‘__comp’ cannot be used as a function
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !