Borderou de evaluare (job #14250)

Utilizator avatar shobe valuare de valuare shobe IP ascuns
Problemă Flori1 (răzbunarea florilor lui Teodor Plop) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 5 mar. 2013 18:51:54 Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:46:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:47:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:49:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:51:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:58:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:69:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:88:27: warning: ignoring return value of ‘int scanf(const 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:51: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/ccC1gScK.o: In function `main': user.cpp:(.text.startup+0x94): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 724 kb OK 10
2 4 ms 724 kb Incorect 0
3 28 ms 732 kb Incorect 0
4 24 ms 720 kb OK 10
5 32 ms 724 kb OK 10
6 76 ms 724 kb OK 10
7 184 ms 720 kb OK 10
8 240 ms 720 kb OK 10
9 332 ms 720 kb OK 10
10 308 ms 728 kb OK 10
Punctaj total 80