Borderou de evaluare (job #2183706)

Utilizator CristyXtremeSimion Cristian CristyXtreme Data 23 martie 2018 13:06:59
Problema Trompeta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:14:21: warning: format ‘%c’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1000000]’ [-Wformat=] fscanf(f,"%c",&a); ^ user.cpp:15:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1000000]’ [-Wformat=] fscanf(f,"%s",&a); ^ user.cpp:11:10: warning: unused variable ‘x’ [-Wunused-variable] char x; ^ user.cpp:13:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%i %i",&n,&m); ^ user.cpp:14:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%c",&a); ^ user.cpp:15:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s",&a); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms756kbOK10
20ms800kbOK10
30ms804kbOK10
40ms880kbOK10
50ms860kbOK10
68ms2936kbOK10
74ms860kbOK10
8Depăşit3808kbTime limit exceeded.0
9Depăşit5312kbTime limit exceeded.0
10Depăşit4028kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?