Pagini recente » Borderou de evaluare (job #509131) | Borderou de evaluare (job #2331549) | Borderou de evaluare (job #2384066) | Cod sursa (job #65005) | Borderou de evaluare (job #1816822)
Borderou de evaluare (job #1816822)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:18:1: warning: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration]
elevi = (int*) malloc (N * sizeof(int));
^
user.c:18:16: warning: incompatible implicit declaration of built-in function ‘malloc’ [enabled by default]
elevi = (int*) malloc (N * sizeof(int));
^
user.c:17:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%d", &N);
^
user.c:25:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(file1, "%s", semne);
^
user.c:46:7: warning: ‘swapped’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(swapped)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK. | 10 |
| 2 | 0ms | 264kb | Gresit. | 0 |
| 3 | 0ms | 264kb | Gresit. | 0 |
| 4 | 0ms | 268kb | Gresit. | 0 |
| 5 | 24ms | 760kb | Gresit. | 0 |
| 6 | 24ms | 752kb | Gresit. | 0 |
| 7 | 48ms | 1244kb | Gresit. | 0 |
| 8 | 76ms | 1728kb | Gresit. | 0 |
| 9 | 100ms | 2220kb | Gresit. | 0 |
| 10 | 120ms | 2708kb | Gresit. | 0 |
| Punctaj total | 10 |