Pagini recente » Borderou de evaluare (job #1774255) | Borderou de evaluare (job #220343) | Borderou de evaluare (job #163967) | Borderou de evaluare (job #2927779) | Borderou de evaluare (job #1676182)
Borderou de evaluare (job #1676182)
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:63:28: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(aux+1,1505,stdin);
^
user.cpp:64:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:65:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&nrtest);
^
user.cpp:77: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:80: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:63:28:
/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:77: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 | 4856kb | OK | 4 |
| 2 | 156ms | 4860kb | OK | 4 |
| 3 | 100ms | 4852kb | OK | 4 |
| 4 | 136ms | 4856kb | OK | 4 |
| 5 | 16ms | 4860kb | 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 | 4852kb | Incorect | 0 |
| 12 | 12ms | 4860kb | Incorect | 0 |
| 13 | 16ms | 4856kb | Incorect | 0 |
| 14 | 16ms | 4856kb | Incorect | 0 |
| 15 | 16ms | 4856kb | Incorect | 0 |
| 16 | 16ms | 4856kb | Incorect | 0 |
| 17 | 460ms | 4852kb | Incorect | 0 |
| 18 | 456ms | 4860kb | Incorect | 0 |
| 19 | 472ms | 4856kb | Incorect | 0 |
| 20 | 476ms | 4856kb | Incorect | 0 |
| 21 | 476ms | 4860kb | Incorect | 0 |
| 22 | 468ms | 4860kb | Incorect | 0 |
| 23 | 492ms | 4860kb | OK | 4 |
| 24 | 532ms | 4860kb | Incorect | 0 |
| 25 | 484ms | 4856kb | Incorect | 0 |
| Punctaj total | 20 |