Borderou de evaluare (job #299907)

Utilizator avatar adriananicolae Adriana Nicolae adriananicolae IP ascuns
Problemă Subsecvente (clasele 11 și 12) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 10 apr. 2017 21:19:47 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:49:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:50:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:53:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:55: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 /usr/include/c++/4.6/i686-linux-gnu/./bits/stdc++.h:47, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:55: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/ccjPEWUc.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 448 kb OK 10
2 0 ms 448 kb OK 10
3 0 ms 464 kb OK 10
4 0 ms 452 kb OK 10
5 0 ms 464 kb OK 10
6 0 ms 460 kb OK 10
7 8 ms 780 kb OK 10
8 8 ms 972 kb OK 10
9 8 ms 916 kb OK 10
10 8 ms 1032 kb OK 10
Punctaj total 100