Pagini recente » Borderou de evaluare (job #1269531) | Borderou de evaluare (job #3269421) | Cod sursa (job #2318878) | Borderou de evaluare (job #1792630) | Borderou de evaluare (job #1527574)
Borderou de evaluare (job #1527574)
Raport evaluator
Compilare:
user.cpp: In function ‘void radixSort()’:
user.cpp:17:25: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
P[((V[i]>>p)&PER)] ++;
^
user.cpp:23:27: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
W[P[((V[i]>>p)&PER)]--] = V[i];
^
user.cpp: In function ‘int main()’:
user.cpp:34:42: 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:35: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:37:42: 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);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 280kb | OK | 10 | 30 |
| 2 | 12ms | 1056kb | OK | 10 |
| 3 | 124ms | 8088kb | OK | 10 |
| 4 | 124ms | 8080kb | OK | 10 | 40 |
| 5 | 1308ms | 78392kb | OK | 10 |
| 6 | 1344ms | 78384kb | OK | 10 |
| 7 | 148ms | 8084kb | OK | 10 |
| 8 | 1508ms | 78384kb | OK | 10 | 30 |
| 9 | 1504ms | 78388kb | OK | 10 |
| 10 | 1540ms | 78392kb | OK | 10 |
| Punctaj total | 100 |