Pagini recente » Borderou de evaluare (job #2284112) | Borderou de evaluare (job #1061185) | Borderou de evaluare (job #2580505) | Borderou de evaluare (job #2497427) | Borderou de evaluare (job #1283920)
Borderou de evaluare (job #1283920)
Raport evaluator
Compilare:
user.c: In function ‘nth_element_helper’:
user.c:72:11: warning: pointer targets in passing argument 1 of ‘swap’ differ in signedness [-Wpointer-sign]
if( i <= j ) swap(vec + i, vec + j), i++, j--;
^
user.c:47:6: note: expected ‘int *’ but argument is of type ‘uint *’
void swap(int *a,int *b) {
^
user.c:72:11: warning: pointer targets in passing argument 2 of ‘swap’ differ in signedness [-Wpointer-sign]
if( i <= j ) swap(vec + i, vec + j), i++, j--;
^
user.c:47:6: note: expected ‘int *’ but argument is of type ‘uint *’
void swap(int *a,int *b) {
^
user.c: In function ‘main’:
user.c:30:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &k);
^
user.c:34:35: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 0; i < n; i++) fscanf(fin, "%d", &vec[ i ]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 248kb | OK | 10 | 10 |
2 | 32ms | 632kb | OK | 10 | 10 |
3 | 20ms | 520kb | OK | 10 | 10 |
4 | 24ms | 560kb | OK | 10 | 10 |
5 | 52ms | 824kb | OK | 10 | 10 |
6 | 856ms | 10012kb | OK | 10 | 10 |
7 | 840ms | 10012kb | OK | 10 | 10 |
8 | 792ms | 10004kb | OK | 10 | 30 |
9 | 928ms | 11176kb | OK | 10 |
10 | 1016ms | 11956kb | OK | 10 |
Punctaj total | 100 |