Borderou de evaluare (job #379087)

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:33:08 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/ccSonaUc.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 316 kb OK 10
2 0 ms 324 kb OK 10
3 0 ms 348 kb OK 10
4 12 ms 2480 kb OK 10
5 72 ms 7056 kb OK 10
6 120 ms 11032 kb OK 10
7 depășit 11512 kb Time limit exceeded. 0
8 144 ms 13368 kb Killed by signal 11(SIGSEGV). 0
9 600 ms 8100 kb OK 10
10 392 ms 6196 kb OK 10
Punctaj total 80