Pagini recente » Borderou de evaluare (job #501408) | Borderou de evaluare (job #1105920) | Borderou de evaluare (job #2871563) | Borderou de evaluare (job #1791535) | Borderou de evaluare (job #1676206)
Borderou de evaluare (job #1676206)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sablon.in","r",stdin);
^
user.cpp:65:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sablon.out","w",stdout);
^
user.cpp:66:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s+1,1505,stdin);
^
user.cpp:67:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:68:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&nrtest);
^
user.cpp:74:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(sir+1,1505,stdin);
^
user.cpp:77:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/c++/4.8/ext/string_conversions.h:43,
from /usr/include/c++/4.8/bits/basic_string.h:2815,
from /usr/include/c++/4.8/string:52,
from /usr/include/c++/4.8/bits/locale_classes.h:40,
from /usr/include/c++/4.8/bits/ios_base.h:41,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:66:26:
/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]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:74:32:
/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]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 144ms | 4860kb | OK | 4 |
2 | 156ms | 4856kb | OK | 4 |
3 | 100ms | 4856kb | OK | 4 |
4 | 140ms | 4860kb | OK | 4 |
5 | 16ms | 4856kb | Incorect | 0 |
6 | 16ms | 4860kb | Incorect | 0 |
7 | 16ms | 4856kb | Incorect | 0 |
8 | 16ms | 4856kb | Incorect | 0 |
9 | 16ms | 4860kb | Incorect | 0 |
10 | 16ms | 4860kb | Incorect | 0 |
11 | 16ms | 4856kb | Incorect | 0 |
12 | 12ms | 4852kb | Incorect | 0 |
13 | 16ms | 4860kb | Incorect | 0 |
14 | 16ms | 4852kb | Incorect | 0 |
15 | 16ms | 4856kb | Incorect | 0 |
16 | 16ms | 4856kb | Incorect | 0 |
17 | 460ms | 4860kb | Incorect | 0 |
18 | 460ms | 4856kb | Incorect | 0 |
19 | 472ms | 4856kb | Incorect | 0 |
20 | 472ms | 4856kb | Incorect | 0 |
21 | 484ms | 4856kb | Incorect | 0 |
22 | 472ms | 4856kb | Incorect | 0 |
23 | 492ms | 4860kb | OK | 4 |
24 | 528ms | 4856kb | Incorect | 0 |
25 | 480ms | 4860kb | Incorect | 0 |
Punctaj total | 20 |