Pagini recente » Borderou de evaluare (job #871960) | Borderou de evaluare (job #2902841) | Borderou de evaluare (job #2228181) | Borderou de evaluare (job #2147272) | Borderou de evaluare (job #1676195)
Borderou de evaluare (job #1676195)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:60: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:61: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:62: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:63:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:64:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&nrtest);
^
user.cpp:70: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:73: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:62: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:70: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 | 136ms | 2896kb | OK | 4 |
2 | 140ms | 2904kb | OK | 4 |
3 | 92ms | 2900kb | OK | 4 |
4 | 124ms | 2904kb | OK | 4 |
5 | 8ms | 2904kb | Incorect | 0 |
6 | 8ms | 2900kb | Incorect | 0 |
7 | 8ms | 2904kb | Incorect | 0 |
8 | 8ms | 2900kb | Incorect | 0 |
9 | 12ms | 2900kb | Incorect | 0 |
10 | 8ms | 2904kb | Incorect | 0 |
11 | 12ms | 2896kb | Incorect | 0 |
12 | 8ms | 2896kb | Incorect | 0 |
13 | 12ms | 2900kb | Incorect | 0 |
14 | 12ms | 2900kb | Incorect | 0 |
15 | 12ms | 2896kb | Incorect | 0 |
16 | 12ms | 2900kb | Incorect | 0 |
17 | 268ms | 2900kb | OK | 4 |
18 | 420ms | 2904kb | OK | 4 |
19 | 304ms | 2900kb | OK | 4 |
20 | 480ms | 2900kb | OK | 4 |
21 | 284ms | 2904kb | OK | 4 |
22 | 280ms | 2900kb | OK | 4 |
23 | 428ms | 2900kb | OK | 4 |
24 | 432ms | 2896kb | OK | 4 |
25 | 488ms | 2900kb | OK | 4 |
Punctaj total | 52 |