Borderou de evaluare (job #1769450)

Utilizator mariakKapros Maria mariak Data 2 octombrie 2016 15:51:03
Problema Viteza Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void DFS(int, int)’: user.cpp:75:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < knode[x].size(); ++ i) ^ user.cpp:86:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < G[x].size(); ++ i) ^ user.cpp:72:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j; ^ user.cpp: In function ‘void solve()’: user.cpp:135:12: warning: unused variable ‘x’ [-Wunused-variable] int i, x, y, k; ^ user.cpp:135:15: warning: unused variable ‘y’ [-Wunused-variable] int i, x, y, k; ^ user.cpp:135:18: warning: unused variable ‘k’ [-Wunused-variable] int i, x, y, k; ^ user.cpp: In function ‘void read()’: user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:32:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ user.cpp:38:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &speed[i]); ^ user.cpp: In function ‘void solve()’: user.cpp:144:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &Q[i].u, &Q[i].v, &Q[i].k); ^ user.cpp: In function ‘void update(int, int)’: user.cpp:9:21: warning: ‘i’ is used uninitialized in this function [-Wuninitialized] #define zeros(x) (x & (-x)) ^ user.cpp:51:9: note: ‘i’ was declared here int i; ^ user.cpp: In function ‘int query(int)’: user.cpp:9:21: warning: ‘i’ is used uninitialized in this function [-Wuninitialized] #define zeros(x) (x & (-x)) ^ user.cpp:61:9: note: ‘i’ was declared here int i, res = 0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms3308kbOK10
28ms3452kbOK10
38ms3448kbOK10
4356ms13028kbOK10
5380ms13076kbOK10
6Depăşit14096kbTime limit exceeded.0
7Depăşit18300kbTime limit exceeded.0
8Depăşit17352kbTime limit exceeded.0
9Depăşit18392kbTime limit exceeded.0
10Depăşit17656kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?