Borderou de evaluare (job #2028181)

Utilizator andru47Stefanescu Andru andru47 Data 27 septembrie 2017 12:17:47
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:18:16: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] char chr = NULL; ^ user.cpp:18:10: warning: unused variable ‘chr’ [-Wunused-variable] char chr = NULL; ^ user.cpp:13: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:14: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:19:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ user.cpp:21:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir + 1); ^ user.cpp:32:42: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] if (mp[ss] == true){gets(sir + 1); ^ user.cpp:51:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(sir + 1); ^ /tmp/ccxAnPkw.o: In function `main': user.cpp:(.text.startup+0xe9): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms828kbOK100
20ms832kbOK10
3340ms924kbOK10
4Depăşit920kbTime limit exceeded.0
5Depăşit1128kbTime limit exceeded.0
6Depăşit2396kbTime limit exceeded.0
7Depăşit6064kbTime limit exceeded.0
8Depăşit11156kbTime limit exceeded.0
9Depăşit10900kbTime limit exceeded.0
10Depăşit10648kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?