Borderou de evaluare (job #1399663)

Utilizator smaraldaSmaranda Dinu smaralda Data 24 martie 2015 21:00:43
Problema Curent Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In member function ‘void EVENT::read()’: user.cpp:20: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:77:21: warning: unused variable ‘m’ [-Wunused-variable] int n, i, papi, m, nQueries, nEvents, day, ev; ^ user.cpp:75: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:76: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:79:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:81:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &papi); ^ user.cpp:84:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nEvents); ^ user.cpp:92:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nQueries); ^ user.cpp:96:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &day); ^ user.cpp: In member function ‘void EVENT::read()’: user.cpp:20: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
10ms1468kbOK5
20ms1468kbRaspuns gresit0
30ms1464kbRaspuns gresit0
40ms1472kbRaspuns gresit0
50ms1472kbRaspuns gresit0
624ms1996kbRaspuns gresit0
720ms2204kbRaspuns gresit0
852ms2784kbRaspuns gresit0
960ms3592kbRaspuns gresit0
1088ms4600kbRaspuns gresit0
11176ms5756kbRaspuns gresit0
1284ms5708kbKilled by signal 11(SIGSEGV).0
13112ms6016kbKilled by signal 11(SIGSEGV).0
14120ms6456kbKilled by signal 11(SIGSEGV).0
Punctaj total5

Ceva nu functioneaza?