Borderou de evaluare (job #2028360)

Utilizator andru47Stefanescu Andru andru47 Data 27 septembrie 2017 19:36:56
Problema Abc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:16: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] char chr = NULL; ^ user.cpp:31:10: warning: unused variable ‘chr’ [-Wunused-variable] char chr = NULL; ^ user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.in" ,"r", stdin); ^ user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("abc2.out" ,"w", stdout); ^ user.cpp:32:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp:34:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir + 1); ^ user.cpp:47:26: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir + 1); ^ user.cpp:52:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir + 1); ^ /tmp/cclx7G9k.o: In function `main': user.cpp:(.text.startup+0xe1): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms8628kbOK100
212ms8632kbOK10
312ms8652kbOK10
416ms8728kbOK10
536ms9140kbIncorect0
6124ms10712kbIncorect0
7636ms18580kbIncorect0
8Depăşit26436kbTime limit exceeded.0
9Depăşit26044kbTime limit exceeded.0
10Depăşit25248kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?