Pagini recente » Borderou de evaluare (job #1146933) | Borderou de evaluare (job #2102402) | Borderou de evaluare (job #263233) | Borderou de evaluare (job #2468632) | Borderou de evaluare (job #2137790)
Borderou de evaluare (job #2137790)
Raport evaluator
Compilare:
user.cpp: In function ‘void CountingSort(unsigned int*, unsigned int*, unsigned int)’:
user.cpp:11:82: warning: operation on ‘i’ may be undefined [-Wsequence-point]
for(unsigned int i = 0x0; i != 0x100; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:11:82: warning: operation on ‘i’ may be undefined [-Wsequence-point]
user.cpp: In function ‘int main()’:
user.cpp:44: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:45: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:47: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 255u invokes undefined behavior [-Waggressive-loop-optimizations]
for(unsigned int i = 0x0; i != 0x100; index[++i] = index[~-i] + frequence[~-i]);
^
user.cpp:11:33: note: containing loop
for(unsigned int i = 0x0; i != 0x100; index[++i] = index[~-i] + frequence[~-i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 2876kb | OK | 10 | 0 |
2 | 8ms | 3284kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 84ms | 12296kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 84ms | 12296kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 856ms | 78960kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 860ms | 78960kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 100ms | 12292kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 984ms | 78964kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 964ms | 78960kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 984ms | 78964kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |