Pagini recente » Borderou de evaluare (job #2844491) | Borderou de evaluare (job #1530236) | Borderou de evaluare (job #320735) | Borderou de evaluare (job #3269682) | Borderou de evaluare (job #1588436)
Borderou de evaluare (job #1588436)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:26:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < G[x].size(); i++)
^
user.cpp:17:9: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, k, val, x;
^
user.cpp:17:12: warning: unused variable ‘k’ [-Wunused-variable]
int i, j, k, val, x;
^
user.cpp: In function ‘int main()’:
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in", "rt", stdin);
^
user.cpp:35:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out", "wt", stdout);
^
user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &M);
^
user.cpp:42:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &a, &b, &c), G[a].pb(b), C[a].pb(c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1440kb | OK | 10 |
2 | 0ms | 1440kb | OK | 10 |
3 | 4ms | 1484kb | OK | 10 |
4 | 4ms | 1504kb | OK | 10 |
5 | 28ms | 1912kb | OK | 10 |
6 | 56ms | 2336kb | OK | 10 |
7 | 80ms | 2576kb | OK | 10 |
8 | 88ms | 2900kb | OK | 10 |
9 | 296ms | 5236kb | OK | 10 |
10 | 392ms | 6268kb | OK | 10 |
Punctaj total | 100 |