Borderou de evaluare (job #2028362)

Utilizator andru47Stefanescu Andru andru47 Data 27 septembrie 2017 19:39:49
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/ccXSCerz.o: In function `main': user.cpp:(.text.startup+0xdf): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms8628kbOK100
212ms8628kbOK10
312ms8652kbOK10
416ms8752kbOK10
540ms9244kbOK10
6136ms11032kbOK10
7552ms19140kbOK10
8Depăşit26992kbTime limit exceeded.0
9Depăşit26380kbTime limit exceeded.0
10Depăşit28216kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?