Borderou de evaluare (job #1396500)

Utilizator smaraldaSmaranda Dinu smaralda Data 22 martie 2015 16:56:27
Problema Curent Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In member function ‘void EVENT::read()’: user.cpp:17:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘bool*’ [-Wformat=] scanf("%d%d%d", &day, &node, &val); ^ user.cpp: In function ‘int main()’: user.cpp:87:9: warning: unused variable ‘m’ [-Wunused-variable] int m, i, papi, nEvents, nQueries, q; ^ user.cpp:85:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("curent.in", "r", stdin); ^ user.cpp:86:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("curent.out", "w", stdout); ^ user.cpp:89:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:91:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &papi); ^ user.cpp:95:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nEvents); ^ user.cpp:98:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nQueries); ^ user.cpp:100:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &query[i]); ^ user.cpp: In member function ‘void EVENT::read()’: user.cpp:17:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &day, &node, &val); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1480kbRaspuns gresit0
20ms1472kbRaspuns gresit0
30ms1480kbRaspuns gresit0
40ms1472kbRaspuns gresit0
50ms1476kbRaspuns gresit0
624ms2372kbRaspuns gresit0
728ms3268kbRaspuns gresit0
872ms3068kbRaspuns gresit0
992ms3676kbRaspuns gresit0
10116ms4496kbRaspuns gresit0
11236ms5852kbRaspuns gresit0
12232ms6304kbKilled by signal 11(SIGSEGV).0
13252ms7252kbKilled by signal 11(SIGSEGV).0
14192ms7264kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?