Borderou de evaluare (job #2028189)

Utilizator andru47Stefanescu Andru andru47 Data 27 septembrie 2017 12:24:34
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:28:16: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] char chr = NULL; ^ user.cpp:28:10: warning: unused variable ‘chr’ [-Wunused-variable] char chr = NULL; ^ user.cpp:23: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:24: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:29:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp:31:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir + 1); ^ user.cpp:43:26: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir + 1); ^ user.cpp:63:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir + 1); ^ /tmp/cc1cmZnj.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
112ms8624kbOK100
212ms8616kbOK10
3340ms8652kbOK10
4Depăşit8648kbTime limit exceeded.0
5Depăşit8860kbTime limit exceeded.0
6Depăşit10128kbTime limit exceeded.0
7Depăşit13760kbTime limit exceeded.0
8Depăşit18928kbTime limit exceeded.0
9Depăşit18700kbTime limit exceeded.0
10Depăşit18344kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?