Borderou de evaluare (job #2028192)

Utilizator vladdy47Bucur Vlad Andrei vladdy47 Data 27 septembrie 2017 12:31:57
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:24: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:25: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:30: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:32: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:45:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s + 1); ^ /tmp/ccePZFdD.o: In function `main': user.cpp:(.text.startup+0x5e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms8228kbOK100
212ms8228kbOK10
312ms8252kbOK10
416ms8328kbOK10
552ms8652kbOK10
6192ms9668kbOK10
7Depăşit13852kbTime limit exceeded.0
8Depăşit18704kbTime limit exceeded.0
9Depăşit18700kbTime limit exceeded.0
10Depăşit18700kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?