Pagini recente » Borderou de evaluare (job #1174554) | Borderou de evaluare (job #2486709) | Borderou de evaluare (job #2068075) | Borderou de evaluare (job #1089435) | Borderou de evaluare (job #1440019)
Borderou de evaluare (job #1440019)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:79:5: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]
close(fd);
^
user.c:9:9: warning: unused variable ‘n’ [-Wunused-variable]
int n,t,tCurrent;
^
user.c:22:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fd,"%d",&t);
^
user.c:26:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fd,"%d %d %d",&nrZile,&nrStari,&nrActivitati);
^
user.c:29:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fd,"%d",&activitati[i]);
^
user.c:33:19: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fd,"%lf",&dist[i]);
^
user.c:37:23: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fd,"%lf",&a[i][j]);
^
user.c:41:23: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fd,"%lf",&b[i][j]);
^
user.c:65:24: warning: ‘stareBuna’ may be used uninitialized in this function [-Wmaybe-uninitialized]
stariRez[i]=stareBuna;
^
user.c:53:20: warning: ‘stareCurenta’ may be used uninitialized in this function [-Wmaybe-uninitialized]
stariRez[0]=stareCurenta;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 428kb | Incorect | 0 |
Punctaj total | 0 |