Borderou de evaluare (job #1407061)

Utilizator thecoreUPB-Catana-Oprea-Poenaru thecore Data 29 martie 2015 18:02:08
Problema Cupa Berii Status done
Runda ONIS 2015, Runda 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:13: warning: variable ‘m’ set but not used [-Wunused-but-set-variable] int m, n = strlen(S); ^ user.cpp:42:9: warning: unused variable ‘n’ [-Wunused-variable] int n, i, T; ^ user.cpp:43:12: warning: unused variable ‘h’ [-Wunused-variable] double h, m; ^ user.cpp:43:15: warning: unused variable ‘m’ [-Wunused-variable] double h, m; ^ user.cpp:44:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv10.in","r", stdin); ^ user.cpp:45:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv10.out","w", stdout); ^ user.cpp:46:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &T); ^ user.cpp:51:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(S); ^ user.cpp:52:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(st); ^ user.cpp:53:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(dr); ^ /tmp/ccVFdy91.o: In function `main': user.cpp:(.text.startup+0xbd): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms192kbFisier de iesire lipsa0
Punctaj total0

Ceva nu functioneaza?