Borderou de evaluare (job #1586256)

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

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
10ms492kbOK10
20ms472kbIncorect0
30ms480kbOK10
40ms464kbIncorect0
50ms476kbIncorect0
60ms468kbIncorect0
70ms468kbIncorect0
80ms484kbOK10
90ms456kbIncorect0
100ms468kbIncorect0
Punctaj total30

Ceva nu functioneaza?