Pagini recente » Borderou de evaluare (job #2180719) | Borderou de evaluare (job #2261914) | Borderou de evaluare (job #2660190) | Borderou de evaluare (job #2564778) | Borderou de evaluare (job #2661001)
Borderou de evaluare (job #2661001)
Raport evaluator
Compilare:
main.cpp: In function 'void sortingUtils::radixSort(RandomIt, RandomIt)':
main.cpp:37:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=(cntSize-1); i; i--) nr[i]=nr[i-1]; nr[0]=0;
^~~
main.cpp:37:59: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=(cntSize-1); i; i--) nr[i]=nr[i-1]; nr[0]=0;
^~
main.cpp:46:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=(cntSize-1); i; i--) nr[i]=nr[i-1]; nr[0]=0;
^~~
main.cpp:46:59: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=(cntSize-1); i; i--) nr[i]=nr[i-1]; nr[0]=0;
^~
main.cpp: In function 'int main()':
main.cpp:62:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<n; i++){
~^~
main.cpp:66:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<n; i+=10)
~^~
main.cpp: In instantiation of 'void sortingUtils::radixSort(RandomIt, RandomIt) [with T = int; RandomIt = int*]':
main.cpp:65:40: required from here
main.cpp:44:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<sec.size(); i++) nr[(sec[i]>>(16*cnt+16))&(cntSize-1)]++;
main.cpp:49:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<sec.size(); i++)
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 393kb | OK | 10 | 30 |
2 | 14ms | 1179kb | OK | 10 |
3 | 127ms | 8388kb | OK | 10 |
4 | 122ms | 8388kb | OK | 10 | 40 |
5 | 1307ms | 80453kb | OK | 10 |
6 | 1415ms | 80478kb | OK | 10 |
7 | 183ms | 8388kb | OK | 10 |
8 | 1765ms | 80478kb | OK | 10 | 30 |
9 | 1918ms | 80359kb | OK | 10 |
10 | 1814ms | 80465kb | OK | 10 |
Punctaj total | 100 |