Pagini recente » Borderou de evaluare (job #2823133) | Borderou de evaluare (job #824002) | Borderou de evaluare (job #1115081) | Borderou de evaluare (job #223588) | Borderou de evaluare (job #2137742)
Borderou de evaluare (job #2137742)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(unsigned int*, unsigned int*, unsigned int)’:
user.cpp:11:84: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(unsigned int i = 0x0; i != 0x10000; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:11:84: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘int main()’:
user.cpp:36: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:37: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:39: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:11:5: warning: iteration 65535u invokes undefined behavior [-Waggressive-loop-optimizations]
for(unsigned int i = 0x0; i != 0x10000; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:11:33: note: containing loop
for(unsigned int i = 0x0; i != 0x10000; index[++i] = index[~-i] + frequence[~-i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 5424kb | OK | 10 | 30 |
2 | 8ms | 5464kb | OK | 10 |
3 | 76ms | 14092kb | OK | 10 |
4 | 76ms | 14096kb | OK | 10 | 0 |
5 | 856ms | 88140kb | Incorect | 0 |
6 | 1084ms | 88148kb | Incorect | 0 |
7 | 100ms | 14628kb | Incorect | 0 |
8 | 1008ms | 90188kb | Incorect | 0 | 0 |
9 | 1092ms | 90188kb | Incorect | 0 |
10 | 1108ms | 90192kb | Incorect | 0 |
Punctaj total | 30 |