Borderou de evaluare (job #2183708)

Utilizator CristyXtremeSimion Cristian CristyXtreme Data 23 martie 2018 13:08:29
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
10ms800kbOK10
20ms808kbOK10
30ms756kbOK10
40ms800kbOK10
50ms756kbOK10
68ms860kbOK10
74ms876kbOK10
8Depăşit2172kbTime limit exceeded.0
9Depăşit2556kbTime limit exceeded.0
10Depăşit2232kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?