Pagini recente » Borderou de evaluare (job #317553) | Borderou de evaluare (job #272462) | Borderou de evaluare (job #1678231) | Borderou de evaluare (job #873352) | Borderou de evaluare (job #1887275)
Borderou de evaluare (job #1887275)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Heap::pop()’:
user.cpp:53:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (2 * t + 1 < h.size()) {
^
user.cpp:55:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (f + 1 < h.size() && h[f + 1].val < h[f].val) f++;
^
user.cpp: In member function ‘void Dijkstra::dist()’:
user.cpp:89:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[x].size(); ++i) {
^
user.cpp: In function ‘int main()’:
user.cpp:122:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("catun.in","r",stdin);
^
user.cpp:123:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("catun.out", "w", stdout);
^
user.cpp:124:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &m, &k);
^
user.cpp:126:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &dd[i]);
^
user.cpp:130:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1048kb | OK | 10 |
2 | 4ms | 1192kb | OK | 10 |
3 | 12ms | 1576kb | OK | 10 |
4 | 0ms | 1040kb | OK | 10 |
5 | 44ms | 2204kb | OK | 10 |
6 | 72ms | 3104kb | OK | 10 |
7 | 4ms | 1216kb | OK | 10 |
8 | 48ms | 1476kb | OK | 10 |
9 | 56ms | 2536kb | OK | 10 |
10 | 192ms | 4216kb | OK | 10 |
Punctaj total | 100 |