Pagini recente »
Borderou de evaluare (job #475645)
|
Borderou de evaluare (job #439671)
|
Borderou de evaluare (job #280713)
|
Borderou de evaluare (job #575353)
|
Borderou de evaluare (job #293447)
Borderou de evaluare (job #293447)
Raport evaluator
Compilare:
user.cpp: In function 'int main()':
user.cpp:77:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
user.cpp:78:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
user.cpp: In function 'void read()':
user.cpp:21:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
user.cpp:23:19: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result [-Wunused-result]
user.cpp:24:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
user.cpp:26:19: warning: ignoring return value of 'char* gets(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 'void read()' at user.cpp:23: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]
In function 'char* gets(char*)',
inlined from 'void read()' at user.cpp:26: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/ccUbZc8S.o: In function `read()':
user.cpp:(.text+0x12f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
0 ms
|
300 kb
|
OK
|
10
|
2
|
0 ms
|
316 kb
|
OK
|
10
|
3
|
0 ms
|
420 kb
|
OK
|
10
|
4
|
4 ms
|
556 kb
|
OK
|
10
|
5
|
8 ms
|
740 kb
|
OK
|
10
|
6
|
12 ms
|
812 kb
|
OK
|
10
|
7
|
36 ms
|
1168 kb
|
OK
|
10
|
8
|
48 ms
|
1288 kb
|
OK
|
10
|
9
|
72 ms
|
1576 kb
|
OK
|
10
|
10
|
80 ms
|
1408 kb
|
OK
|
10
|
Punctaj total
|
100
|