Pagini recente »
Borderou de evaluare (job #287376)
Borderou de evaluare (job #287376)
Raport evaluator
Compilare:
user.cpp: In function 'int main()':
user.cpp:45:28: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
user.cpp:46:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
user.cpp: In function 'int search(int, char)':
user.cpp:38:1: warning: control reaches end of non-void function [-Wreturn-type]
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.6/cstdio:44,
from /usr/include/c++/4.6/ext/string_conversions.h:39,
from /usr/include/c++/4.6/bits/basic_string.h:2756,
from /usr/include/c++/4.6/string:54,
from /usr/include/c++/4.6/bits/locale_classes.h:42,
from /usr/include/c++/4.6/bits/ios_base.h:43,
from /usr/include/c++/4.6/ios:43,
from /usr/include/c++/4.6/ostream:40,
from /usr/include/c++/4.6/iostream:40,
from user.cpp:1:
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at user.cpp:45:28:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
In function 'char* fgets(char*, int, FILE*)',
inlined from 'int main()' at user.cpp:46:25:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to '__fgets_chk_warn' declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
0 ms
|
384 kb
|
OK
|
5
|
2
|
0 ms
|
380 kb
|
OK
|
5
|
3
|
0 ms
|
388 kb
|
OK
|
5
|
4
|
0 ms
|
384 kb
|
OK
|
5
|
5
|
0 ms
|
388 kb
|
OK
|
5
|
6
|
0 ms
|
380 kb
|
OK
|
5
|
7
|
0 ms
|
388 kb
|
OK
|
5
|
8
|
0 ms
|
384 kb
|
OK
|
5
|
9
|
0 ms
|
384 kb
|
OK
|
5
|
10
|
12 ms
|
380 kb
|
OK
|
5
|
11
|
20 ms
|
388 kb
|
OK
|
5
|
12
|
0 ms
|
380 kb
|
OK
|
5
|
13
|
0 ms
|
384 kb
|
OK
|
5
|
14
|
0 ms
|
384 kb
|
OK
|
5
|
15
|
4 ms
|
384 kb
|
OK
|
5
|
16
|
8 ms
|
388 kb
|
OK
|
5
|
17
|
8 ms
|
384 kb
|
OK
|
5
|
18
|
16 ms
|
384 kb
|
OK
|
5
|
19
|
0 ms
|
384 kb
|
OK
|
5
|
20
|
28 ms
|
388 kb
|
OK
|
5
|
Punctaj total
|
100
|