Borderou de evaluare (job #1498644)

Utilizator akaprosAna Kapros akapros Data 8 octombrie 2015 21:24:33
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
10ms292kbIncorect0
20ms292kbOK10
30ms312kbIncorect0
44ms444kbKilled by signal 11(SIGSEGV).0
516ms656kbKilled by signal 11(SIGSEGV).0
616ms732kbKilled by signal 11(SIGSEGV).0
720ms832kbKilled by signal 11(SIGSEGV).0
832ms964kbKilled by signal 11(SIGSEGV).0
944ms1048kbKilled by signal 11(SIGSEGV).0
1044ms1048kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?