Borderou de evaluare (job #1722179)

Utilizator mariakKapros Maria mariak Data 27 iunie 2016 15:14:36
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:31:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d", &ok[i]); ^ user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &K); ^ user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &ok[i]); ^ user.cpp:32:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &M); ^ user.cpp:35:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &a, &b, &T, &W); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms488kbOK10
20ms464kbOK10
30ms468kbOK10
40ms452kbIncorect0
50ms468kbIncorect0
60ms452kbOK10
70ms456kbIncorect0
80ms472kbOK10
90ms444kbIncorect0
100ms460kbOK10
Punctaj total60

Ceva nu functioneaza?