Borderou de evaluare (job #1692107)

Utilizator Andrei_Info1Ionescu Andrei Andrei_Info1 Data 20 aprilie 2016 09:58:49
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:27:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[105]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:8: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:9: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:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:27:19: 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
10ms268kbRaspuns gresit!0
20ms264kbRaspuns gresit!0
30ms272kbRaspuns gresit!0
40ms272kbRaspuns gresit!0
50ms268kbRaspuns gresit!0
60ms268kbRaspuns gresit!0
74ms268kbRaspuns gresit!0
84ms264kbRaspuns gresit!0
912ms264kbRaspuns gresit!0
1024ms268kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?