Borderou de evaluare (job #2028178)

Utilizator andru47Stefanescu Andru andru47 Data 27 septembrie 2017 12:15:19
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:17:16: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] char chr = NULL; ^ user.cpp:17:10: warning: unused variable ‘chr’ [-Wunused-variable] char chr = NULL; ^ user.cpp:12: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:13: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:18:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp:20:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir + 1); ^ user.cpp:45:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir + 1); ^ /tmp/cc1W4bEi.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
10ms816kbOK100
20ms824kbOK10
3320ms844kbOK10
4Depăşit832kbTime limit exceeded.0
5Depăşit1068kbTime limit exceeded.0
6Depăşit2380kbTime limit exceeded.0
7Depăşit5952kbTime limit exceeded.0
8Depăşit11132kbTime limit exceeded.0
9Depăşit10936kbTime limit exceeded.0
10Depăşit10540kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?