Borderou de evaluare (job #1669257)

Utilizator PraetorGrigorosoaia Florin Praetor Data 30 martie 2016 16:21:28
Problema Bunicu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:32:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1002]’ [-Wformat=] fscanf(in, "%s", &S); ^ user.cpp:25:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &nr_of_tests); ^ user.cpp:28:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &nr_of_strings); ^ user.cpp:32:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%s", &S); ^ user.cpp: In function ‘int show()’: user.cpp:59:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms464kbBA NUUUU!!!00
28ms456kbBA NUUUU!!!0
312ms460kbA BA DA!!!20
416ms464kbA BA DA!!!20
544ms460kbA BA DA!!!20
Punctaj total0

Ceva nu functioneaza?