Pagini recente » Borderou de evaluare (job #1948778) | Borderou de evaluare (job #2125343) | Borderou de evaluare (job #2226246) | Borderou de evaluare (job #2173975) | Borderou de evaluare (job #1498658)
Borderou de evaluare (job #1498658)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:66:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (p = 0; p < V[x].size(); ++ p)
^
user.cpp:100:49: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
if (!(x & (1 << i)) && dp[i + 1 << x][x] > dp[i][j] + d[j][w[x]][nb1] * (nb1 + 1))
^
user.cpp:101:30: warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]
dp[i + 1 << x][x] = dp[i][j] + d[j][w[x]][nb1] * (nb1 + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:110:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", sol);
^
user.cpp: In function ‘void read()’:
user.cpp:32: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:33: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:37:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
w[i] = x;
^
user.cpp:40: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:109: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 |
| 1 | 0ms | 292kb | Incorect | 0 |
| 2 | 0ms | 292kb | Incorect | 0 |
| 3 | 0ms | 312kb | Incorect | 0 |
| 4 | 4ms | 520kb | Incorect | 0 |
| 5 | 16ms | 1040kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 20ms | 1192kb | Incorect | 0 |
| 7 | 28ms | 1464kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 44ms | 2720kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 52ms | 6184kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 64ms | 6184kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |