Pagini recente » Borderou de evaluare (job #1199038) | Borderou de evaluare (job #1304918) | Borderou de evaluare (job #214920) | Borderou de evaluare (job #2288724) | Borderou de evaluare (job #2137701)
Borderou de evaluare (job #2137701)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(unsigned int*, unsigned int*, unsigned int)’:
user.cpp:12:69: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(; i < 0x100; index[++i] = index[i - 0x1] + frequence[i - 0x1]);
^
user.cpp:12:69: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘int main()’:
user.cpp:40:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radixsort.in", "r", stdin);
^
user.cpp:41:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radixsort.out", "w", stdout);
^
user.cpp:43:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &N, &A, &B, &C);
^
user.cpp: In function ‘void CountingSort(unsigned int*, unsigned int*, unsigned int)’:
user.cpp:10:5: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(; i; ++frequence[A[--i] >> digit & 0xFF]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 4912kb | Incorect | 0 | 0 |
2 | 8ms | 4932kb | Incorect | 0 |
3 | 64ms | 13320kb | Incorect | 0 |
4 | 64ms | 13304kb | Incorect | 0 | 0 |
5 | 644ms | 83536kb | Incorect | 0 |
6 | 660ms | 83536kb | Incorect | 0 |
7 | 64ms | 13300kb | Incorect | 0 |
8 | 664ms | 83540kb | Incorect | 0 | 0 |
9 | 660ms | 83532kb | Incorect | 0 |
10 | 660ms | 83536kb | Incorect | 0 |
Punctaj total | 0 |