Borderou de evaluare (job #1722184)

Utilizator mariakKapros Maria mariak Data 27 iunie 2016 15:33:10
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
10ms484kbOK10
20ms464kbOK10
30ms460kbOK10
40ms460kbIncorect0
50ms472kbIncorect0
60ms460kbOK10
70ms456kbIncorect0
80ms464kbOK10
90ms444kbIncorect0
100ms460kbOK10
Punctaj total60

Ceva nu functioneaza?