Borderou de evaluare (job #1314512)

Utilizator badea_adi1999Badea Adrian Catalin badea_adi1999 Data 11 ianuarie 2015 22:29:05
Problema Mcript Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:15:36: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[10]’ [-Wformat=] fscanf(f,"%d\n%s\n%d ",&n,&c,&m); ^ user.cpp: In function ‘int rez()’: user.cpp:33:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[10]’ [-Wformat=] fscanf(f,"%s ",&l); ^ user.cpp: In function ‘int main()’: user.cpp:48:9: warning: unused variable ‘i’ [-Wunused-variable] int i,j; ^ user.cpp:48:11: warning: unused variable ‘j’ [-Wunused-variable] int i,j; ^ user.cpp: In function ‘void citire()’: user.cpp:15:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d\n%s\n%d ",&n,&c,&m); ^ user.cpp:18:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s",t); ^ user.cpp: In function ‘int rez()’: user.cpp:31:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&p); ^ user.cpp:33:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s ",&l); ^ user.cpp: In function ‘int main()’: user.cpp:50:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d\n",&k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms440kbIncorect0
24ms448kbIncorect0
3412ms452kbIncorect0
4Depăşit496kbTime limit exceeded.0
5Depăşit488kbTime limit exceeded.0
6Depăşit484kbTime limit exceeded.0
7Depăşit488kbTime limit exceeded.0
8Depăşit488kbTime limit exceeded.0
9Depăşit484kbTime limit exceeded.0
10Depăşit488kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?