Pagini recente » Borderou de evaluare (job #1087667) | Borderou de evaluare (job #1009112) | Borderou de evaluare (job #148937) | Borderou de evaluare (job #1006424) | Borderou de evaluare (job #1449928)
Borderou de evaluare (job #1449928)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("base3.in","r",stdin);
^
user.cpp:40:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("base3.out","w",stdout);
^
user.cpp:43:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i]+1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:43:21:
/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]
return __gets_warn (__str);
^
/tmp/ccSY1eZJ.o: In function `main':
user.cpp:(.text.startup+0x51): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 712kb | OK | 5 |
2 | 0ms | 436kb | OK | 5 |
3 | 0ms | 436kb | OK | 5 |
4 | 0ms | 436kb | OK | 5 |
5 | 0ms | 452kb | OK | 5 |
6 | 0ms | 448kb | OK | 5 |
7 | 0ms | 468kb | OK | 5 |
8 | 4ms | 536kb | OK | 5 |
9 | 0ms | 472kb | OK | 5 |
10 | 4ms | 644kb | OK | 5 |
11 | 0ms | 504kb | OK | 5 |
12 | 4ms | 704kb | OK | 5 |
13 | 8ms | 668kb | OK | 5 |
14 | 4ms | 616kb | OK | 5 |
15 | 8ms | 704kb | OK | 5 |
16 | 8ms | 704kb | OK | 5 |
17 | 8ms | 708kb | OK | 5 |
18 | 8ms | 680kb | OK | 5 |
19 | 8ms | 708kb | OK | 5 |
20 | 4ms | 612kb | OK | 5 |
Punctaj total | 100 |