Borderou de evaluare (job #2027973)

Utilizator vladdy47Bucur Vlad Andrei vladdy47 Data 26 septembrie 2017 22:19:56
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:35: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:36: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:38:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(text + 1), n = strlen(text + 1); ^ user.cpp:40:35: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1), m = strlen(s + 1); ^ user.cpp:52:39: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1), m = strlen(s + 1); ^ /tmp/ccV6vMis.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms8212kbOK100
212ms8212kbOK10
312ms8236kbOK10
416ms8320kbOK10
548ms8636kbIncorect0
6184ms9648kbOK10
7832ms13840kbIncorect0
8Depăşit18684kbTime limit exceeded.0
9Depăşit18684kbTime limit exceeded.0
10Depăşit18680kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?