Borderou de evaluare (job #1769406)

Utilizator mariakKapros Maria mariak Data 2 octombrie 2016 15:07: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:77:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < knode[x].size(); ++ i) ^ user.cpp:88:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < G[x].size(); ++ i) ^ user.cpp:74:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j; ^ user.cpp: In function ‘void solve()’: user.cpp:136:12: warning: unused variable ‘x’ [-Wunused-variable] int i, x, y, k; ^ user.cpp:136:15: warning: unused variable ‘y’ [-Wunused-variable] int i, x, y, k; ^ user.cpp:136:18: warning: unused variable ‘k’ [-Wunused-variable] int i, x, y, k; ^ user.cpp: In function ‘void read()’: user.cpp:31: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:34: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:40: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:145: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:53: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:63:9: note: ‘i’ was declared here int i, res = 0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms3312kbOK10
28ms3452kbOK10
38ms3444kbOK10
4360ms13056kbOK10
5380ms13112kbOK10
6Depăşit14136kbTime limit exceeded.0
7Depăşit18304kbTime limit exceeded.0
8Depăşit17368kbTime limit exceeded.0
9Depăşit18452kbTime limit exceeded.0
10Depăşit17656kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?