Borderou de evaluare (job #128403)

Utilizator avatar aspirev5 Mihnea Savu aspirev5 IP ascuns
Problemă Re-search (clasele 11-12) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 4 mar. 2015 18:29:22 Scor 15

Raport evaluator

Compilare: user.cpp: In function ‘int search(int)’: user.cpp:17:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:18:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:34:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp: In function ‘int main()’: user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:48:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:52:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:57:25: 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:19: /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/ccO9gbxS.o: In function `main': user.cpp:(.text.startup+0x8f): warning: the `gets' function is dangerous and should not be used.
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 296 kb Incorect 0
2 0 ms 316 kb Incorect 0
3 4 ms 408 kb OK 5
4 16 ms 484 kb OK 5
5 520 ms 568 kb OK 5
6 4 ms 424 kb Incorect 0
7 depășit 632 kb Time limit exceeded. 0
8 depășit 636 kb Time limit exceeded. 0
9 depășit 740 kb Time limit exceeded. 0
10 depășit 736 kb Time limit exceeded. 0
11 depășit 740 kb Time limit exceeded. 0
12 depășit 688 kb Time limit exceeded. 0
13 depășit 708 kb Time limit exceeded. 0
14 depășit 740 kb Time limit exceeded. 0
15 96 ms 644 kb Incorect 0
16 752 ms 764 kb Incorect 0
17 108 ms 764 kb Incorect 0
18 depășit 736 kb Time limit exceeded. 0
19 depășit 736 kb Time limit exceeded. 0
20 depășit 732 kb Time limit exceeded. 0
Punctaj total 15