Borderou de evaluare (job #2129894)
Utilizator | Data | 13 februarie 2018 11:08:31 | |
---|---|---|---|
Problema | Maxd | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int nrDivLp(int)’:
user.cpp:15:16: warning: unused variable ‘b’ [-Wunused-variable]
int i = 3, b = a;
^
user.cpp: In function ‘int main()’:
user.cpp:51:38: error: expected ‘}’ at end of input
printf ("%d %d %d\n", n, Max, nr);
^
user.cpp:33:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("maxd.in", "r", stdin);
^
user.cpp:34:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("maxd.out", "w", stdout);
^
user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &a, &b);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !