Borderou de evaluare (job #1586268)

Utilizator lflorin29Florin Laiu lflorin29 Data 31 ianuarie 2016 22:44:31
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:28:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d", &Refresh[i]); ^ user.cpp:25:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lanterna.in", "r", stdin); ^ user.cpp:26: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:28:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Refresh[i]); ^ user.cpp:29:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int cntMuchii; scanf("%d", &cntMuchii); ^ user.cpp:32:72: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &de_unde, &pana_unde, &ce_timp, &ce_wat); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms496kbOK10
20ms472kbOK10
30ms480kbOK10
40ms468kbOK10
50ms476kbOK10
60ms468kbOK10
70ms464kbIncorect0
80ms480kbOK10
90ms460kbIncorect0
100ms468kbOK10
Punctaj total80

Ceva nu functioneaza?