Borderou de evaluare (job #1645599)

Utilizator andreea_zahariaAndreea Zaharia andreea_zaharia Data 10 martie 2016 12:59:44
Problema Expozitie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:56:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘nrMare’ [-Wformat=] printf ("%d\n", d[N&1][D]); ^ user.cpp:39:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("expozitie.in", "r", stdin); ^ user.cpp:40:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("expozitie.out", "w", stdout); ^ user.cpp:42:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d%d", &N, &D, &K); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms364kbIncorect0
20ms328kbIncorect0
30ms376kbOK10
428ms912kbIncorect0
50ms352kbOK10
628ms912kbIncorect0
70ms300kbIncorect0
84ms588kbIncorect0
90ms312kbIncorect0
100ms268kbOK10
Punctaj total30

Ceva nu functioneaza?