Pagini recente » Borderou de evaluare (job #2261324) | Borderou de evaluare (job #1868315) | Cod sursa (job #1024802) | Borderou de evaluare (job #152866) | Borderou de evaluare (job #1457164)
Borderou de evaluare (job #1457164)
Raport evaluator
Compilare:
user.cpp: In function ‘int radix()’:
user.cpp:28:21: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
x[(v[i] >> move) & MASK]++;
^
user.cpp:37:27: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
aux[++x[(v[i] >> move) & MASK]] = v[i];
^
user.cpp:44:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:10:37: 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:11:39: 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:12:35: 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 | 288kb | OK | 10 | 30 |
| 2 | 8ms | 1056kb | OK | 10 |
| 3 | 120ms | 8092kb | OK | 10 |
| 4 | 124ms | 8092kb | OK | 10 | 40 |
| 5 | 1304ms | 78396kb | OK | 10 |
| 6 | 1336ms | 78396kb | OK | 10 |
| 7 | 144ms | 8092kb | OK | 10 |
| 8 | 1492ms | 78396kb | OK | 10 | 30 |
| 9 | 1492ms | 78396kb | OK | 10 |
| 10 | 1512ms | 78396kb | OK | 10 |
| Punctaj total | 100 |