Borderou de evaluare (job #1604776)

Utilizator bleo16783FMI Bleotiu Cristian bleo16783 Data 18 februarie 2016 16:21:41
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:19: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:21: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:24: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:27: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
10ms468kbOK10
20ms548kbOK10
30ms516kbOK10
460ms800kbOK10
5Depăşit1736kbTime limit exceeded.0
6Depăşit4552kbTime limit exceeded.0
7Depăşit4996kbTime limit exceeded.0
8Depăşit5440kbTime limit exceeded.0
9Depăşit5448kbTime limit exceeded.0
10Depăşit5444kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?