Borderou de evaluare (job #1596225)

Utilizator iulian_f2kGuraliuc Iulian iulian_f2k Data 10 februarie 2016 21:04:19
Problema Dragoni Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int, int&)’: user.cpp:33:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<G[nod].size(); i++) ^ user.cpp: In function ‘void p1()’: user.cpp:41:38: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%hu%hu%hu", &a, &b, &d); ^ user.cpp:41:38: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:41:38: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp: In function ‘void p2()’: user.cpp:61:38: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%hu%hu%hu", &a, &b, &d); ^ user.cpp:61:38: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:61:38: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:112:34: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%hu%hu%hu", &p, &N, &M); ^ user.cpp:112:34: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:112:34: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:115:24: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%hu", &d); ^ user.cpp: In function ‘void p1()’: user.cpp:41:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hu%hu%hu", &a, &b, &d); ^ user.cpp: In function ‘void p2()’: user.cpp:61:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hu%hu%hu", &a, &b, &d); ^ user.cpp: In function ‘int main()’: user.cpp:109:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dragoni.in", "rt", stdin); ^ user.cpp:110:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dragoni.out", "wt", stdout); ^ user.cpp:112:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hu%hu%hu", &p, &N, &M); ^ user.cpp:115:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hu", &d); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms436kbCorect!2
20ms436kbCorect!2
30ms436kbCorect!2
40ms432kbCorect!2
50ms436kbCorect!2
60ms444kbCorect!2
70ms444kbCorect!2
84ms448kbCorect!2
94ms448kbCorect!2
104ms444kbCorect!2
110ms444kbCorect!8
120ms452kbCorect!8
130ms532kbCorect!8
140ms580kbCorect!8
154ms1752kbCorect!8
1612ms4984kbCorect!8
1716ms5672kbCorect!8
1816ms5692kbCorect!8
1920ms5540kbCorect!8
2020ms5540kbCorect!8
Punctaj total100

Ceva nu functioneaza?