Borderou de evaluare (job #141478)

Utilizator avatar Alexa2001 Alexa Tudose Alexa2001 IP ascuns
Problemă Cutie Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 9 apr. 2015 13:41:53 Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:86:34: warning: format ‘%c’ expects argument of type ‘int’, but argument 2 has type ‘char*’ [-Wformat] user.cpp:102:52: warning: format ‘%c’ expects argument of type ‘int’, but argument 2 has type ‘char*’ [-Wformat] 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/ccb5EDPl.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 316 kb Incorect 0
3 172 ms 284 kb Incorect 0
4 12 ms 440 kb Incorect 0
5 40 ms 540 kb Incorect 0
6 240 ms 1132 kb Incorect 0
7 132 ms 612 kb Incorect 0
8 depășit 1236 kb Time limit exceeded. 0
9 depășit 1128 kb Time limit exceeded. 0
10 depășit 1232 kb Time limit exceeded. 0
Punctaj total 10