Borderou de evaluare (job #1604635)

Utilizator bleo16783FMI Bleotiu Cristian bleo16783 Data 18 februarie 2016 14:03:12
Problema Amedie Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d",&n,&m,&q); ^ user.cpp:17:63: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++)for(j=1;j<=m;j++){fscanf(f,"%d",&a[i][j]);v[(i-1)*m+j]=a[i][j];} ^ user.cpp:20:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] c=0;while(c<'A'||c>'Z')fscanf(f,"%c",&c); ^ user.cpp:23:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbOK10
20ms548kbOK10
30ms520kbOK10
460ms804kbOK10
5Depăşit1736kbTime limit exceeded.0
6Depăşit4560kbTime limit exceeded.0
7Depăşit4996kbTime limit exceeded.0
8Depăşit5444kbTime limit exceeded.0
9Depăşit5448kbTime limit exceeded.0
10Depăşit5448kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?