Borderou de evaluare (job #141492)

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

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/ccb5S05X.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 288 kb OK 10
2 0 ms 312 kb OK 10
3 100 ms 288 kb OK 10
4 4 ms 440 kb OK 10
5 24 ms 536 kb OK 10
6 200 ms 1140 kb OK 10
7 128 ms 612 kb OK 10
8 depășit 1236 kb Time limit exceeded. 0
9 depășit 1116 kb Time limit exceeded. 0
10 depășit 1228 kb Time limit exceeded. 0
Punctaj total 70