Borderou de evaluare (job #2028191)

Utilizator vladdy47Bucur Vlad Andrei vladdy47 Data 27 septembrie 2017 12:26:32
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/ccoawI1v.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
112ms8236kbOK100
212ms8236kbOK10
312ms8256kbOK10
416ms8340kbOK10
556ms8660kbOK10
6184ms9672kbOK10
7900ms13888kbOK10
8Depăşit18708kbTime limit exceeded.0
9Depăşit18704kbTime limit exceeded.0
10Depăşit18708kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?