Pagini recente » Borderou de evaluare (job #212401) | Borderou de evaluare (job #746275) | Borderou de evaluare (job #437530) | Borderou de evaluare (job #3030612) | Borderou de evaluare (job #1751341)
Borderou de evaluare (job #1751341)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:9:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("propozitie.in", "r", stdin);
^
user.cpp:10:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &k);
^
user.cpp:11:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s + 1, maxN, stdin);
^
user.cpp: In function ‘void write()’:
user.cpp:35:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("propozitie.out", "w", stdout);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘void read()’ at user.cpp:11:30:
/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 | 0ms | 444kb | OK | 10 |
2 | 0ms | 452kb | Incorect | 0 |
3 | 0ms | 456kb | Incorect | 0 |
4 | 0ms | 452kb | Incorect | 0 |
5 | 0ms | 456kb | Incorect | 0 |
6 | 12ms | 724kb | Incorect | 0 |
7 | 12ms | 764kb | Incorect | 0 |
8 | 16ms | 824kb | Incorect | 0 |
9 | 16ms | 876kb | Incorect | 0 |
10 | 4ms | 716kb | Killed by signal 6(SIGABRT). | 0 |
Punctaj total | 10 |