Borderou de evaluare (job #1722248)

Utilizator mariakKapros Maria mariak Data 27 iunie 2016 18:19:55
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:32:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d", &ok[i]); ^ user.cpp: In function ‘bool DJK(int)’: user.cpp:44:18: warning: unused variable ‘y’ [-Wunused-variable] int i, j, x, y, t, w, q, Q, sz; ^ user.cpp:44:21: warning: unused variable ‘t’ [-Wunused-variable] int i, j, x, y, t, w, q, Q, sz; ^ user.cpp:44:24: warning: unused variable ‘w’ [-Wunused-variable] int i, j, x, y, t, w, q, Q, sz; ^ user.cpp: In function ‘void read()’: user.cpp:30: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:32:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &ok[i]); ^ user.cpp:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &M); ^ user.cpp:37: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
10ms684kbOK10
224ms884kbOK10
30ms660kbOK10
484ms784kbOK10
568ms892kbOK10
680ms928kbOK10
796ms784kbOK10
80ms668kbOK10
90ms472kbOK10
108ms680kbOK10
Punctaj total100

Ceva nu functioneaza?