Borderou de evaluare (job #14252)

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:57:07 Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:48:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:50:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:52:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:55:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:59:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:70:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:89: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:52: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/ccJru06k.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 896 kb OK 10
2 4 ms 904 kb Incorect 0
3 24 ms 900 kb Incorect 0
4 48 ms 892 kb OK 10
5 32 ms 896 kb OK 10
6 104 ms 892 kb OK 10
7 208 ms 896 kb OK 10
8 188 ms 896 kb OK 10
9 372 ms 900 kb OK 10
10 324 ms 892 kb OK 10
Punctaj total 80