Borderou de evaluare (job #178917)

Utilizator avatar Alexa2001 Alexa Tudose Alexa2001 IP ascuns
Problemă CE (Caracteristică Euler) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 9 ian. 2016 00:32:49 Scor 100

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:39:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:48:39: 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:48:39: /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/cc3ocMpZ.o: In function `main': user.cpp:(.text.startup+0x16f): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 296 kb OK 10
2 0 ms 296 kb OK 10
3 0 ms 304 kb OK 10
4 4 ms 1004 kb OK 10
5 32 ms 2452 kb OK 10
6 52 ms 3624 kb OK 10
7 572 ms 3696 kb OK 10
8 628 ms 4720 kb OK 10
9 368 ms 2336 kb OK 10
10 256 ms 1940 kb OK 10
Punctaj total 100