Borderou de evaluare (job #1272871)

Utilizator TarabanDragosTaraban Dragos-Petru TarabanDragos Data 22 noiembrie 2014 14:36:17
Problema Criptare2 Status done
Runda FMI No Stress 5 Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[111000]’ [-Wformat=] fscanf(f,"%s",&s); ^ user.cpp:26:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(c[ s[ii] ]==0){ ^ user.cpp:27:30: warning: array subscript has type ‘char’ [-Wchar-subscripts] c[ s[ii] ]=w[a][ii]; ^ user.cpp:29:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(c[ s[ii] ]!=w[a][ii]){ ^ user.cpp:9:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d\n",&n); ^ user.cpp:11:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s ",w[i]); ^ user.cpp:15:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d\n",&m); ^ user.cpp:17:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%s",&s); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
20ms288kbOK10
30ms292kbOK10
4Depăşit596kbTime limit exceeded.0
5Depăşit892kbTime limit exceeded.0
6Depăşit888kbTime limit exceeded.0
7Depăşit892kbTime limit exceeded.0
8Depăşit892kbTime limit exceeded.0
9Depăşit888kbTime limit exceeded.0
10Depăşit888kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?