Borderou de evaluare (job #294419)

Utilizator avatar micutu Andrei Vasile Cont Fraudulent micutu IP ascuns
Problemă Subsecvente (clasele 11 și 12) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 19 mar. 2017 21:58:20 Scor 100

Raport evaluator

Compilare: user.cpp: In function 'int main()': user.cpp:53:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:54:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:57:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] user.cpp:59:18: 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:59:18: /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/ccSR5Fzl.o: In function `main': user.cpp:(.text.startup+0x82): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 304 kb OK 10
2 0 ms 296 kb OK 10
3 0 ms 316 kb OK 10
4 0 ms 304 kb OK 10
5 0 ms 312 kb OK 10
6 0 ms 304 kb OK 10
7 8 ms 524 kb OK 10
8 8 ms 820 kb OK 10
9 8 ms 764 kb OK 10
10 8 ms 880 kb OK 10
Punctaj total 100