Borderou de evaluare (job #2027920)

Utilizator vladdy47Bucur Vlad Andrei vladdy47 Data 26 septembrie 2017 21:14: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: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:50: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/ccjWKOZK.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
112ms8208kbOK100
212ms8208kbOK10
312ms8240kbOK10
416ms8316kbOK10
552ms8640kbIncorect0
6212ms9652kbOK10
7900ms13840kbIncorect0
8Depăşit18688kbTime limit exceeded.0
9Depăşit18692kbTime limit exceeded.0
10Depăşit18680kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?