Borderou de evaluare (job #1354794)

Utilizator cristian.enciuCristian Enciu cristian.enciu Data 22 februarie 2015 00:18:33
Problema Por Costel si Invazia Extraterestra Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void insert(long int, long int, long int)’: user.cpp:19:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(arb[node].capacity() <= help[node]) arb[node].push_back(val); ^ user.cpp: In function ‘int main()’: user.cpp:68:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d ", &n, &m); ^ user.cpp:68:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:75:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d%d%d ", &a, &b, &val); ^ user.cpp:75:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] user.cpp:75:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=] user.cpp:84:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d ", &a); ^ user.cpp:61:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("invazia.in", "r", stdin); ^ user.cpp:62:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("invazia.out", "w", stdout); ^ user.cpp:68:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d ", &n, &m); ^ user.cpp:72:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c ", &c); ^ user.cpp:75:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d ", &a, &b, &val); ^ user.cpp:84:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11488ms9460kbIncorect0
Punctaj total0

Ceva nu functioneaza?