Pagini recente » Borderou de evaluare (job #20070) | Clasament cartof125 | Borderou de evaluare (job #2001005) | Borderou de evaluare (job #2169448) | Borderou de evaluare (job #1693460)
Borderou de evaluare (job #1693460)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:10:57: warning: unused variable ‘position’ [-Wunused-variable]
int list_length, count, result, index, type, subject, position;
^
user.c: In function ‘biggest_subject’:
user.c:51:22: warning: unused variable ‘current’ [-Wunused-variable]
int min, max, mid, current;
^
user.c: In function ‘smaller_than_subject’:
user.c:74:22: warning: unused variable ‘current’ [-Wunused-variable]
int min, max, mid, current;
^
user.c: In function ‘greather_than_subject’:
user.c:93:22: warning: unused variable ‘current’ [-Wunused-variable]
int min, max, mid, current;
^
user.c: In function ‘main’:
user.c:16:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(input, "%d\n", &list_length);
^
user.c:21:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(input, "%d", &list[index]);
^
user.c:24:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(input, "%d\n", &count);
^
user.c:27:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(input, "%d %d", &type, &subject);
^
user.c: In function ‘biggest_subject’:
user.c:51:17: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int min, max, mid, current;
^
user.c: In function ‘smaller_than_subject’:
user.c:74:17: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int min, max, mid, current;
^
user.c: In function ‘greather_than_subject’:
user.c:93:17: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int min, max, mid, current;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 0ms | 272kb | Incorect | 0 | 0 |
3 | 0ms | 272kb | Incorect | 0 | 0 |
4 | 4ms | 268kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 24ms | 312kb | Incorect | 0 | 0 |
6 | 80ms | 464kb | Incorect | 0 |
7 | 120ms | 664kb | Incorect | 0 | 0 |
8 | 124ms | 664kb | Incorect | 0 |
9 | 124ms | 668kb | Incorect | 0 |
10 | 128ms | 660kb | Incorect | 0 |
Punctaj total | 0 |