Pagini recente » Borderou de evaluare (job #1317953) | Borderou de evaluare (job #1968343) | Borderou de evaluare (job #52791) | Borderou de evaluare (job #2701542) | Borderou de evaluare (job #1239363)
Borderou de evaluare (job #1239363)
Raport evaluator
Compilare:
user.cpp: In function ‘int sim()’:
user.cpp:24:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( X[ st[1] ].size() <= i+cnt ) continue;
^
user.cpp:26:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if( X[ st[j] ].size() <= i+cnt || X[ st[j]][i+cnt] != X[ st[1] ][i+cnt] )
^
user.cpp: In function ‘int main()’:
user.cpp:46:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ratina.in","r",stdin);
^
user.cpp:47:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ratina.out","w",stdout);
^
user.cpp:49:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:52:35: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets( c , 20005 , stdin );
^
user.cpp:57:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d",&n);
^
user.cpp:59:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d",&st[j]);
^
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:52:35:
/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 | 208ms | 1764kb | Incorect | 0 |
2 | 212ms | 1764kb | Incorect | 0 |
3 | 20ms | 1108kb | Incorect | 0 |
4 | 20ms | 1104kb | Incorect | 0 |
5 | 20ms | 1072kb | Incorect | 0 |
6 | 20ms | 1068kb | Incorect | 0 |
7 | 228ms | 2868kb | Incorect | 0 |
8 | 216ms | 2928kb | Incorect | 0 |
9 | 204ms | 2916kb | Incorect | 0 |
10 | 212ms | 1768kb | Incorect | 0 |
11 | 216ms | 1580kb | Incorect | 0 |
12 | 208ms | 1980kb | Incorect | 0 |
13 | 212ms | 1768kb | Incorect | 0 |
14 | 204ms | 1984kb | Incorect | 0 |
15 | 204ms | 1772kb | Incorect | 0 |
16 | 168ms | 1796kb | Incorect | 0 |
17 | 304ms | 1952kb | Incorect | 0 |
18 | 284ms | 1988kb | Incorect | 0 |
19 | 304ms | 1860kb | Incorect | 0 |
20 | 300ms | 1848kb | Incorect | 0 |
Punctaj total | 0 |