Pagini recente » Borderou de evaluare (job #1150614) | Borderou de evaluare (job #2110285) | Borderou de evaluare (job #832664) | Borderou de evaluare (job #1473753) | Borderou de evaluare (job #2205844)
Borderou de evaluare (job #2205844)
Raport evaluator
Compilare:
user.cpp: In function ‘void Decapitare(heap_struct*, int*)’:
user.cpp:62:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(i=0;h[i+1].nod;i++);
^~~
user.cpp:64:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
swap(h[0],h[i]);
^~~~
user.cpp: In function ‘void inserare(heap_struct*, int, int, int*)’:
user.cpp:90:2: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(i=0;h[i].nod;i++);
^~~
user.cpp:91:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
h[i].nod=n;
^
user.cpp: In function ‘void algoritm(int, int, std::vector<int>, std::vector<std::pair<int, int> >*)’:
user.cpp:132:26: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
tata[i]=viz[i]=freq[i]=0;
~~~~~~~^~
user.cpp:137:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<fortarete.size();i++)
~^~~~~~~~~~~~~~~~~
user.cpp:151:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<la[curent].size();j++)
~^~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 104ms | Depăşit | Memory limit exceeded. | 0 |
2 | 100ms | Depăşit | Memory limit exceeded. | 0 |
3 | 100ms | Depăşit | Memory limit exceeded. | 0 |
4 | 100ms | Depăşit | Memory limit exceeded. | 0 |
5 | 100ms | Depăşit | Memory limit exceeded. | 0 |
6 | 100ms | Depăşit | Memory limit exceeded. | 0 |
7 | 100ms | Depăşit | Memory limit exceeded. | 0 |
8 | 100ms | Depăşit | Memory limit exceeded. | 0 |
9 | 104ms | Depăşit | Memory limit exceeded. | 0 |
10 | 100ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |