Pagini recente » Borderou de evaluare (job #335454) | Borderou de evaluare (job #444664) | Borderou de evaluare (job #1110913) | Borderou de evaluare (job #868342) | Borderou de evaluare (job #1498653)
Borderou de evaluare (job #1498653)
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:103: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:103: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 write()’:
user.cpp:112: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:111: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 | 296kb | Incorect | 0 |
2 | 0ms | 300kb | OK | 10 |
3 | 0ms | 324kb | Incorect | 0 |
4 | 4ms | 764kb | Incorect | 0 |
5 | 20ms | 2640kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 24ms | 3132kb | Incorect | 0 |
7 | 32ms | 2328kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 48ms | 2768kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 56ms | 6184kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 68ms | 6180kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 10 |