Borderou de evaluare (job #1949373)
Utilizator | Data | 1 aprilie 2017 23:21:48 | |
---|---|---|---|
Problema | Patrate1 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:14:39: error: ISO C++ forbids declaration of ‘operator<’ with no type [-fpermissive]
operator < (const normalize &aux) const {
^
user.cpp: In function ‘int main()’:
user.cpp:22:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate1.in", "r", stdin);
^
user.cpp:23:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate1.out", "w", stdout);
^
user.cpp:27:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &h);
^
user.cpp:29:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !