Borderou de evaluare (job #2200087)

Utilizator stefanchistefan chiper stefanchi Data 30 aprilie 2018 12:06:20
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:17:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000001]’ [-Wformat=] scanf("%s\n",&numere); ^ user.cpp:12: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:13: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:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:17:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n",&numere); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms936kbRaspuns gresit!0
20ms756kbRaspuns gresit!0
30ms800kbRaspuns gresit!0
40ms800kbRaspuns gresit!0
50ms860kbRaspuns gresit!0
60ms860kbRaspuns gresit!0
74ms872kbRaspuns gresit!0
88ms876kbRaspuns gresit!0
912ms860kbRaspuns gresit!0
1024ms756kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?