Pagini recente » Borderou de evaluare (job #2561057) | Borderou de evaluare (job #3121679) | Borderou de evaluare (job #1298350) | Borderou de evaluare (job #3219169) | Borderou de evaluare (job #2615038)
Borderou de evaluare (job #2615038)
Raport evaluator
Compilare:
main.cpp: In function 'void eulerDFS(int)':
main.cpp:41:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<edge[node].size(); i++){
~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'void sumDFS(int)':
main.cpp:91:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<edge[node].size(); i++){
~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'void buildSumTree()':
main.cpp:101:32: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset (visited, 0, sizeof visited);
^~~~~~~
main.cpp: In function 'void updateSumTree(int)':
main.cpp:120:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<edge[node].size(); i++){
~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int query(int, int)':
main.cpp:133:36: warning: argument to 'sizeof' in 'void* memset(void*, int, size_t)' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset (visited, 0, sizeof visited);
^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | Incorect | 0 |
2 | 11ms | 131kb | Incorect | 0 |
3 | 27ms | 393kb | Incorect | 0 |
4 | 75ms | 1441kb | Incorect | 0 |
5 | 95ms | 2621kb | Incorect | 0 |
6 | 112ms | 2621kb | Incorect | 0 |
7 | 112ms | 2621kb | Incorect | 0 |
8 | 131ms | 3276kb | Incorect | 0 |
9 | 169ms | 3932kb | Incorect | 0 |
10 | 189ms | 4194kb | Incorect | 0 |
Punctaj total | 0 |