Pagini recente » Borderou de evaluare (job #277927) | Borderou de evaluare (job #1676164)
Borderou de evaluare (job #1676164)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56: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:57: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:58: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:59:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:60:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&nrtest);
^
user.cpp:66: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:69: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:58: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:66: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 | 132ms | 2900kb | OK | 4 |
2 | 148ms | 2896kb | OK | 4 |
3 | 92ms | 2900kb | OK | 4 |
4 | 128ms | 2900kb | OK | 4 |
5 | 8ms | 2896kb | Incorect | 0 |
6 | 8ms | 2900kb | Incorect | 0 |
7 | 8ms | 2900kb | Incorect | 0 |
8 | 8ms | 2900kb | Incorect | 0 |
9 | 8ms | 2900kb | Incorect | 0 |
10 | 8ms | 2900kb | Incorect | 0 |
11 | 8ms | 2904kb | Incorect | 0 |
12 | 8ms | 2900kb | Incorect | 0 |
13 | 8ms | 2900kb | Incorect | 0 |
14 | 8ms | 2900kb | Incorect | 0 |
15 | 8ms | 2900kb | Incorect | 0 |
16 | 8ms | 2904kb | Incorect | 0 |
17 | 268ms | 2896kb | OK | 4 |
18 | 412ms | 2904kb | OK | 4 |
19 | 300ms | 2904kb | OK | 4 |
20 | 468ms | 2900kb | OK | 4 |
21 | 280ms | 2900kb | OK | 4 |
22 | 280ms | 2904kb | OK | 4 |
23 | 420ms | 2904kb | OK | 4 |
24 | 424ms | 2900kb | OK | 4 |
25 | 480ms | 2900kb | OK | 4 |
Punctaj total | 52 |