Borderou de evaluare (job #14236)

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:04:54 Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:19:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:21:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:24:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:28:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:31:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:36: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:21: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/ccYVwMt4.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 268 kb Incorect 0
2 0 ms 276 kb Incorect 0
3 24 ms 280 kb Incorect 0
4 24 ms 272 kb Incorect 0
5 24 ms 272 kb Incorect 0
6 72 ms 272 kb Incorect 0
7 196 ms 272 kb Incorect 0
8 192 ms 272 kb Incorect 0
9 316 ms 272 kb Incorect 0
10 308 ms 272 kb Incorect 0
Punctaj total 0