Borderou de evaluare (job #1645635)

Utilizator andreea_zahariaAndreea Zaharia andreea_zaharia Data 10 martie 2016 13:08:18
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:57:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf ("%d\n", d[N&1][D].n[d[N&1][D].nrcif - 1]); ^ user.cpp:59:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf ("%.9d", d[N&1][D].n[i]); ^ 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
20ms336kbIncorect0
30ms380kbOK10
436ms896kbIncorect0
50ms352kbOK10
640ms900kbIncorect0
70ms308kbIncorect0
84ms584kbIncorect0
90ms316kbIncorect0
100ms276kbOK10
Punctaj total30

Ceva nu functioneaza?