Pagini recente » Borderou de evaluare (job #486092) | Borderou de evaluare (job #167975) | Borderou de evaluare (job #3159953) | Borderou de evaluare (job #1531631) | Borderou de evaluare (job #1187772)
Borderou de evaluare (job #1187772)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("similar.in", "r", stdin);
^
user.cpp:15:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("similar.out", "w", stdout);
^
user.cpp:18:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
user.cpp:24:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(A + 1, Nmax, stdin);
^
user.cpp:27:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(B + 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:24:34:
/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:27:34:
/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 | 1468ms | 4220kb | Incorect | 0 | 0 |
2 | Depăşit | 4212kb | Time limit exceeded. | 0 |
3 | 944ms | 4216kb | Incorect | 0 |
Punctaj total | 0 |