Borderou de evaluare (job #1200521)

Utilizator alex_bucevschiBucevschi Alexandru alex_bucevschi Data 22 iunie 2014 18:24:41
Problema Cifra Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:25:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[105]’ [-Wformat=] scanf("%s",&S); ^ user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifra.in","r",stdin); ^ user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifra.out","w",stdout); ^ user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&S); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbRaspuns gresit!0
20ms260kbRaspuns gresit!0
30ms264kbRaspuns gresit!0
40ms260kbRaspuns gresit!0
50ms260kbRaspuns gresit!0
60ms264kbRaspuns gresit!0
70ms264kbRaspuns gresit!0
84ms268kbRaspuns gresit!0
98ms268kbRaspuns gresit!0
1020ms264kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?