Borderou de evaluare (job #1769192)

Utilizator mariakKapros Maria mariak Data 2 octombrie 2016 00:35:21
Problema Viteza Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void DFS(int, int)’: user.cpp:73:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < knode[x].size(); ++ i) ^ user.cpp:80:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < G[x].size(); ++ i) ^ user.cpp:93:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = 0; j < knode[x].size(); ++ j) ^ user.cpp: In function ‘void solve()’: user.cpp:129:12: warning: unused variable ‘x’ [-Wunused-variable] int i, x, y, k; ^ user.cpp:129:15: warning: unused variable ‘y’ [-Wunused-variable] int i, x, y, k; ^ user.cpp:129: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:39:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &speed[i]), maxv = Max(maxv, speed[i]); ^ user.cpp: In function ‘void solve()’: user.cpp:138: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)’: user.cpp:9:21: warning: ‘i’ is used uninitialized in this function [-Wuninitialized] #define zeros(x) (x & (-x)) ^ user.cpp:49: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:59:9: note: ‘i’ was declared here int i, res = 0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit3268kbTime limit exceeded.0
2Depăşit3412kbTime limit exceeded.0
3Depăşit3408kbTime limit exceeded.0
4Depăşit13656kbTime limit exceeded.0
5Depăşit13560kbTime limit exceeded.0
6Depăşit14680kbTime limit exceeded.0
7Depăşit18884kbTime limit exceeded.0
8Depăşit17876kbTime limit exceeded.0
9Depăşit19100kbTime limit exceeded.0
10Depăşit18204kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?