Borderou de evaluare (job #1652100)

Utilizator radarobertRada Robert Gabriel radarobert Data 14 martie 2016 17:28:16
Problema Text5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:85:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("text5.in", "r", stdin); ^ user.cpp:86:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("text5.out", "w", stdout); ^ user.cpp:88:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:89:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(input); ^ user.cpp:90:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(input); ^ /tmp/cc5NKAjw.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms312kbCorect!10
20ms328kbCorect!10
30ms344kbCorect!10
428ms7728kbRaspuns gresit!0
5Depăşit10812kbTime limit exceeded.0
6Depăşit16636kbTime limit exceeded.0
732ms14412kbKilled by signal 11(SIGSEGV).0
836ms15376kbKilled by signal 11(SIGSEGV).0
932ms14904kbKilled by signal 11(SIGSEGV).0
100ms308kbCorect!10
Punctaj total40

Ceva nu functioneaza?