Borderou de evaluare (job #1498646)

Utilizator akaprosAna Kapros akapros Data 8 octombrie 2015 21:25:16
Problema Gather Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:65:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (p = 0; p < V[x].size(); ++ p) ^ user.cpp:102:30: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] dp[i + 1 << x][x] = min(dp[i][j] + d[j][w[x]][nb1], dp[i + 1 << x][x]); ^ user.cpp:102:82: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses] dp[i + 1 << x][x] = min(dp[i][j] + d[j][w[x]][nb1], dp[i + 1 << x][x]); ^ user.cpp: In function ‘void read()’: user.cpp:31:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gather.in", "r", stdin); ^ user.cpp:32:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &k, &n, &m); ^ user.cpp:36:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] w[i] = x; ^ user.cpp:39:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &e.x, &e.y, &e.c, &e.d); ^ user.cpp: In function ‘void write()’: user.cpp:110:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("gather.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms312kbIncorect0
20ms312kbOK10
30ms356kbIncorect0
44ms1216kbIncorect0
520ms3600kbKilled by signal 11(SIGSEGV).0
624ms4880kbIncorect0
732ms4412kbKilled by signal 11(SIGSEGV).0
876msDepăşitMemory limit exceeded.0
9104msDepăşitMemory limit exceeded.0
10104msDepăşitMemory limit exceeded.0
Punctaj total10

Ceva nu functioneaza?