Borderou de evaluare (job #141490)

Utilizator avatar Alexa2001 Alexa Tudose Alexa2001 IP ascuns
Problemă Cutie Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 9 apr. 2015 14:56:01 Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:34:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:36:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:39:37: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:46:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:60:26: 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:39:37: /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/cczQMmoi.o: In function `main': user.cpp:(.text.startup+0x97): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 284 kb OK 10
2 0 ms 316 kb OK 10
3 116 ms 284 kb Incorect 0
4 8 ms 436 kb Incorect 0
5 24 ms 540 kb OK 10
6 196 ms 1140 kb Incorect 0
7 132 ms 608 kb Incorect 0
8 depășit 1232 kb Time limit exceeded. 0
9 depășit 1124 kb Time limit exceeded. 0
10 depășit 1240 kb Time limit exceeded. 0
Punctaj total 30