Pagini recente » Borderou de evaluare (job #1805646) | Borderou de evaluare (job #1348993) | Borderou de evaluare (job #404110) | Borderou de evaluare (job #2534216) | Borderou de evaluare (job #1674708)
Borderou de evaluare (job #1674708)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:17:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(x + 1, 111, stdin);
^
user.cpp:22:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &h);
^
user.cpp: In function ‘void citireLinie()’:
user.cpp:27:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(y + 1, 111, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:186:37: 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:187:39: 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);
^
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* fgets(char*, int, FILE*)’,
inlined from ‘void citire()’ at user.cpp:17:29:
/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 ‘void citireLinie()’ at user.cpp:27:29:
/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 | 4ms | 576kb | Killed by signal 6(SIGABRT). | 0 |
2 | 4ms | 576kb | Killed by signal 6(SIGABRT). | 0 |
3 | 4ms | 576kb | Killed by signal 6(SIGABRT). | 0 |
4 | 4ms | 576kb | Killed by signal 6(SIGABRT). | 0 |
5 | 0ms | 516kb | OK | 4 |
6 | 0ms | 516kb | Incorect | 0 |
7 | 0ms | 516kb | Incorect | 0 |
8 | 0ms | 512kb | Incorect | 0 |
9 | 0ms | 516kb | Incorect | 0 |
10 | 0ms | 516kb | Incorect | 0 |
11 | 0ms | 520kb | Incorect | 0 |
12 | 0ms | 516kb | Incorect | 0 |
13 | 0ms | 516kb | Incorect | 0 |
14 | 0ms | 516kb | Incorect | 0 |
15 | 0ms | 516kb | Incorect | 0 |
16 | 0ms | 512kb | Incorect | 0 |
17 | 4ms | 576kb | Killed by signal 6(SIGABRT). | 0 |
18 | 4ms | 580kb | Killed by signal 6(SIGABRT). | 0 |
19 | 4ms | 580kb | Killed by signal 6(SIGABRT). | 0 |
20 | 4ms | 580kb | Killed by signal 6(SIGABRT). | 0 |
21 | 4ms | 576kb | Killed by signal 6(SIGABRT). | 0 |
22 | 4ms | 580kb | Killed by signal 6(SIGABRT). | 0 |
23 | 4ms | 576kb | Killed by signal 6(SIGABRT). | 0 |
24 | 4ms | 580kb | Killed by signal 6(SIGABRT). | 0 |
25 | 4ms | 580kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 4 |