Pagini recente » Borderou de evaluare (job #2358557) | Borderou de evaluare (job #2678742) | Borderou de evaluare (job #1211837) | Borderou de evaluare (job #2477384) | Borderou de evaluare (job #2661000)
Borderou de evaluare (job #2661000)
Raport evaluator
Compilare:
main.cpp: In function 'void sortingUtils::radixSort(RandomIt, RandomIt)':
main.cpp:36:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=255; i; i--) nr[i]=nr[i-1]; nr[0]=0;
^~~
main.cpp:36:51: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=255; i; i--) nr[i]=nr[i-1]; nr[0]=0;
^~
main.cpp:45:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=255; i; i--) nr[i]=nr[i-1]; nr[0]=0;
^~~
main.cpp:45:51: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i=255; i; i--) nr[i]=nr[i-1]; nr[0]=0;
^~
main.cpp: In function 'int main()':
main.cpp:61:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<n; i++){
~^~
main.cpp:65: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:64:40: required from here
main.cpp:43:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<sec.size(); i++) nr[(sec[i]>>(8*cnt+8))&255]++;
main.cpp:48: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 | 3ms | 131kb | OK | 10 | 30 |
2 | 15ms | 917kb | OK | 10 |
3 | 127ms | 8126kb | OK | 10 |
4 | 133ms | 8126kb | OK | 10 | 0 |
5 | 1231ms | 80216kb | OK | 10 |
6 | 1545ms | 80216kb | OK | 10 |
7 | 125ms | 8126kb | Incorect | 0 |
8 | 1589ms | 80216kb | Incorect | 0 | 0 |
9 | 1548ms | 80216kb | Incorect | 0 |
10 | 1607ms | 80216kb | Incorect | 0 |
Punctaj total | 30 |