Borderou de evaluare (job #379088)

Utilizator avatar MoldovanAndrei1 Moldovan Andrei MoldovanAndrei1 IP ascuns
Problemă CE (Caracteristică Euler) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 2 mai 2018 14:34:30 Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:32:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:34:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:37:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:41:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.6/cstdio:44, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:41:16: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] /tmp/ccsiBbV3.o: In function `main': user.cpp:(.text.startup+0xf6): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 320 kb OK 10
2 0 ms 332 kb OK 10
3 0 ms 360 kb OK 10
4 12 ms 2744 kb OK 10
5 76 ms 8272 kb OK 10
6 128 ms 12492 kb OK 10
7 depășit 13948 kb Time limit exceeded. 0
8 148 ms 15804 kb Killed by signal 11(SIGSEGV). 0
9 560 ms 9556 kb OK 10
10 396 ms 7412 kb OK 10
Punctaj total 80