Borderou de evaluare (job #2183750)
| Utilizator | Data | 23 martie 2018 13:46:19 | |
|---|---|---|---|
| Problema | Lenes | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:14:26: error: ISO C++ forbids declaration of ‘mymin’ with no type [-fpermissive]
inline mymin(int a, int b)
^
user.cpp: In function ‘int main()’:
user.cpp:180:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("lenes.in", "r",stdin);
^
user.cpp:181:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lenes.out", "w",stdout);
^
user.cpp:183:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d", &cer, &n, &m, &k1, &k2);
^
user.cpp:187:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &mat[i][j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
