Pagini recente » Borderou de evaluare (job #892158) | Borderou de evaluare (job #1259710) | Borderou de evaluare (job #2306744) | Borderou de evaluare (job #1324603) | Borderou de evaluare (job #1541437)
Borderou de evaluare (job #1541437)
Raport evaluator
Compilare:
user.cpp: In member function ‘void minHeap<Type>::pop()’:
user.cpp:69:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (v[pos] > v[2 * pos] || v[pos] > v[2 * pos + 1])
^
user.cpp: In function ‘bool bellman_ford(Graph*, int)’:
user.cpp:177:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
d[i] = i == startNode ? 0 : Inf,
^
user.cpp: In function ‘void eulerProblem()’:
user.cpp:281:15: warning: unused variable ‘G’ [-Wunused-variable]
SimpleGraph *G = readSimpleOrientedGraph();
^
user.cpp: In function ‘void bellman_fordProblem()’:
user.cpp:262:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.in", "rt", stdin);
^
user.cpp:263:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.out", "wt", stdout);
^
user.cpp: In function ‘void eulerProblem()’:
user.cpp:278:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euler.in", "rt", stdin);
^
user.cpp:279:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euler.out", "wt", stdout);
^
user.cpp: In function ‘void dijkstraProblem()’:
user.cpp:285: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:286: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 10 |
2 | 0ms | 428kb | OK | 10 |
3 | 4ms | 480kb | OK | 10 |
4 | 8ms | 500kb | OK | 10 |
5 | 348ms | 1076kb | OK | 10 |
6 | Depăşit | 1616kb | Time limit exceeded. | 0 |
7 | Depăşit | 2016kb | Time limit exceeded. | 0 |
8 | 168ms | 2620kb | OK | 10 |
9 | Depăşit | 5112kb | Time limit exceeded. | 0 |
10 | Depăşit | 5112kb | Time limit exceeded. | 0 |
Punctaj total | 60 |