Borderou de evaluare (job #2028188)

Utilizator andru47Stefanescu Andru andru47 Data 27 septembrie 2017 12:23:24
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/cccqIkAU.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
10ms824kbOK100
20ms828kbOK10
3328ms856kbOK10
4Depăşit852kbTime limit exceeded.0
5Depăşit1100kbTime limit exceeded.0
6Depăşit2396kbTime limit exceeded.0
7Depăşit6164kbTime limit exceeded.0
8Depăşit11140kbTime limit exceeded.0
9Depăşit10924kbTime limit exceeded.0
10Depăşit10632kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?