Pagini recente » Borderou de evaluare (job #2836647) | Borderou de evaluare (job #2756637) | Borderou de evaluare (job #2929634) | Borderou de evaluare (job #168447) | Borderou de evaluare (job #1887223)
Borderou de evaluare (job #1887223)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Heap::pop()’:
user.cpp:51:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (2 * t + 1 < h.size()) {
^
user.cpp:53:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (f + 1 < h.size() && (h[f + 1].val < h[f].val || (h[f + 1].val == h[f].val && h[f + 1].fort < h[f].fort))) f++;
^
user.cpp: In member function ‘void Dijkstra::dist()’:
user.cpp:87:43: 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:120: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:121: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:122: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:124:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &dd[i]);
^
user.cpp:127: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 | 1044kb | OK | 10 |
2 | 4ms | 1188kb | Incorect | 0 |
3 | 12ms | 1580kb | Incorect | 0 |
4 | 0ms | 1036kb | Incorect | 0 |
5 | 32ms | 2176kb | Incorect | 0 |
6 | 60ms | 3108kb | Incorect | 0 |
7 | 4ms | 1212kb | OK | 10 |
8 | 16ms | 1524kb | Incorect | 0 |
9 | 48ms | 2512kb | OK | 10 |
10 | 116ms | 4220kb | Incorect | 0 |
Punctaj total | 30 |