Borderou de evaluare (job #1402771)

Utilizator alittlezzCazaciuc Valentin alittlezz Data 26 martie 2015 20:16:50
Problema Cifra Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void afiseaza()’: user.cpp:24:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[150]’ [-Wformat=] scanf("%s",&v); ^ user.cpp: In function ‘int main()’: user.cpp:36:9: warning: unused variable ‘i’ [-Wunused-variable] int i; ^ user.cpp: In function ‘void afiseaza()’: user.cpp:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:24:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&v); ^ user.cpp: In function ‘int main()’: user.cpp:37:36: 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:38:38: 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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbRaspuns gresit!0
20ms248kbRaspuns gresit!0
30ms260kbRaspuns gresit!0
40ms256kbRaspuns gresit!0
50ms252kbRaspuns gresit!0
60ms256kbRaspuns gresit!0
74ms260kbRaspuns gresit!0
88ms256kbRaspuns gresit!0
912ms252kbRaspuns gresit!0
1024ms256kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?