Borderou de evaluare (job #1498647)

Utilizator akaprosAna Kapros akapros Data 8 octombrie 2015 21:26:00
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
10ms296kbIncorect0
20ms296kbOK10
30ms308kbIncorect0
44ms528kbIncorect0
516ms1836kbKilled by signal 11(SIGSEGV).0
620ms2104kbIncorect0
728ms1544kbKilled by signal 11(SIGSEGV).0
832ms1432kbKilled by signal 11(SIGSEGV).0
956ms2908kbKilled by signal 11(SIGSEGV).0
1060ms2908kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?