Pagini recente » Borderou de evaluare (job #937812) | Borderou de evaluare (job #1230005)
Borderou de evaluare (job #1230005)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:147:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n", ans);
^
user.cpp:73:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pal2.in", "r", stdin);
^
user.cpp:74:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pal2.out", "w", stdout);
^
user.cpp:76:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(A + 1, Nmax, stdin);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/c++/4.8/random:39,
from /usr/include/c++/4.8/bits/stl_algo.h:65,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:76: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 |
Punctaj/grupa |
✓ | 1 | 24ms | 17072kb | Incorect | 0 | 0 |
✗ | 2 | 24ms | 17072kb | Incorect | 0 |
✗ | 3 | 24ms | 17072kb | Incorect | 0 |
✗ | 4 | 24ms | 17076kb | Incorect | 0 |
✓ | 5 | 28ms | 17132kb | Incorect | 0 | 0 |
✗ | 6 | 28ms | 17136kb | Incorect | 0 |
✗ | 7 | 28ms | 17132kb | Incorect | 0 |
✗ | 8 | 28ms | 17132kb | Incorect | 0 |
✗ | 9 | 72ms | 19176kb | Incorect | 0 | 0 |
✗ | 10 | 64ms | 18944kb | Incorect | 0 |
✗ | 11 | 72ms | 19172kb | Incorect | 0 |
✗ | 12 | 72ms | 19164kb | Incorect | 0 |
✓ | 13 | 196ms | 23924kb | Incorect | 0 | 0 |
✗ | 14 | 180ms | 24036kb | Incorect | 0 |
✗ | 15 | 180ms | 23960kb | Incorect | 0 |
✗ | 16 | 156ms | 23236kb | Incorect | 0 |
✗ | 17 | 164ms | 23240kb | Incorect | 0 | 0 |
✗ | 18 | 156ms | 23228kb | Incorect | 0 |
✗ | 19 | 200ms | 23892kb | Incorect | 0 |
✗ | 20 | 196ms | 23916kb | Incorect | 0 |
Punctaj total | 0 |