Pagini recente » Borderou de evaluare (job #95936) | Borderou de evaluare (job #2250646) | Borderou de evaluare (job #3156437) | Borderou de evaluare (job #344839) | Borderou de evaluare (job #2136998)
Borderou de evaluare (job #2136998)
Raport evaluator
Compilare:
user.cpp: In function ‘void RadixSort(uint32_t*, uint32_t, uint32_t)’:
user.cpp:13:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = begin; i != end; ++i)
^
user.cpp: In function ‘void itoa(uint32_t)’:
user.cpp:42:69: warning: operation on ‘y’ may be undefined [-Wsequence-point]
outBuffer[p - ++i] = x - (y << 1) - ((y = x / 10) << 3) + 48;
^
user.cpp:44:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
}while(x = y);
^
user.cpp: In function ‘int main()’:
user.cpp:51: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:52: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:54: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:42:69: warning: ‘y’ may be used uninitialized in this function [-Wmaybe-uninitialized]
outBuffer[p - ++i] = x - (y << 1) - ((y = x / 10) << 3) + 48;
^
user.cpp:36:14: note: ‘y’ was declared here
uint32_t y, i = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 3260kb | Incorect | 0 | 0 |
2 | 8ms | 3700kb | Incorect | 0 |
3 | 104ms | 9732kb | Incorect | 0 |
4 | 104ms | 9704kb | Incorect | 0 | 0 |
5 | 1144ms | 84896kb | Incorect | 0 |
6 | 1208ms | 83784kb | Incorect | 0 |
7 | 132ms | 9488kb | Incorect | 0 |
8 | 1356ms | 82672kb | Incorect | 0 | 0 |
9 | 1376ms | 82708kb | Incorect | 0 |
10 | 1380ms | 82468kb | Incorect | 0 |
Punctaj total | 0 |