Pagini recente » Borderou de evaluare (job #2313527) | Borderou de evaluare (job #2823438) | Borderou de evaluare (job #3155939) | Borderou de evaluare (job #912695) | Borderou de evaluare (job #1432288)
Borderou de evaluare (job #1432288)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:17:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=]
fscanf(f1, "%d", &N);
^
user.c:20:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long long int *’ [-Wformat=]
fscanf(f1, "%d", &x);
^
user.c:59:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(f2,"%ld", nr);
^
user.c:17:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1, "%d", &N);
^
user.c:20:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1, "%d", &x);
^
user.c:50:20: warning: ‘max_index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
vec[max_index] = 1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | Incorect | 0 |
| 2 | 0ms | 276kb | Incorect | 0 |
| 3 | 0ms | 276kb | Incorect | 0 |
| 4 | 8ms | 576kb | Incorect | 0 |
| 5 | 12ms | 664kb | Incorect | 0 |
| 6 | 12ms | 740kb | Incorect | 0 |
| 7 | 16ms | 816kb | Incorect | 0 |
| 8 | 16ms | 896kb | Incorect | 0 |
| 9 | 20ms | 972kb | Incorect | 0 |
| 10 | 24ms | 1048kb | Incorect | 0 |
| Punctaj total | 0 |