Borderou de evaluare (job #2333190)

Utilizator akaprosAna Kapros akapros Data 31 ianuarie 2019 19:20:54
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:84:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'bool*' [-Wformat=] scanf("%d", &sp[i]); ^ main.cpp:82:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &K); ^ main.cpp:84:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &sp[i]); ^ main.cpp:85:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &M); ^ main.cpp:89:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d", &u, &v, &cost, &e); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms393kbOK10
227ms655kbOK10
34ms393kbOK10
488ms524kbOK10
560ms655kbOK10
695ms655kbOK10
793ms524kbOK10
84ms393kbOK10
92ms131kbOK10
1018ms430kbOK10
Punctaj total100

Ceva nu functioneaza?