Pagini recente » Borderou de evaluare (job #113800) | Borderou de evaluare (job #2275504) | Borderou de evaluare (job #1519091) | Borderou de evaluare (job #1288416) | Borderou de evaluare (job #1878144)
Borderou de evaluare (job #1878144)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( ptx[ str2[i] ] <= idx ) {
^
user.cpp:57:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans += i - ptx[ str2[i] ] + dly[ str2[i] ];
^
user.cpp:57:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans += i - ptx[ str2[i] ] + dly[ str2[i] ];
^
user.cpp:58:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
str1[ ptx[ str2[i] ] ] = 4;
^
user.cpp:61:63: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( k != str2[i] && ptx[k] > ptx[ str2[i] ] )
^
user.cpp:65:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for( -- ptx[ str2[i] ]; ptx[ str2[i] ] > idx && str1[ ptx[ str2[i] ] ] != str2[i]; -- ptx[ str2[i] ] ) {
^
user.cpp:65:54: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for( -- ptx[ str2[i] ]; ptx[ str2[i] ] > idx && str1[ ptx[ str2[i] ] ] != str2[i]; -- ptx[ str2[i] ] ) {
^
user.cpp:65:84: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for( -- ptx[ str2[i] ]; ptx[ str2[i] ] > idx && str1[ ptx[ str2[i] ] ] != str2[i]; -- ptx[ str2[i] ] ) {
^
user.cpp:65:116: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for( -- ptx[ str2[i] ]; ptx[ str2[i] ] > idx && str1[ ptx[ str2[i] ] ] != str2[i]; -- ptx[ str2[i] ] ) {
^
user.cpp:66:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( ptx[ str1[ ptx[ str2[i] ] ] ] < ptx[ str2[i] ] )
^
user.cpp:66:53: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( ptx[ str1[ ptx[ str2[i] ] ] ] < ptx[ str2[i] ] )
^
user.cpp:66:70: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( ptx[ str1[ ptx[ str2[i] ] ] ] < ptx[ str2[i] ] )
^
user.cpp:67:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
-- dly[ str2[i] ];
^
user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "lru.in" , "r", stdin );
^
user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "lru.out", "w", stdout );
^
user.cpp:27:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &t );
^
user.cpp:31:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 4ms | 348kb | OK | 10 |
3 | 20ms | 484kb | OK | 10 |
4 | 28ms | 572kb | OK | 10 |
5 | 36ms | 632kb | OK | 10 |
6 | 40ms | 676kb | OK | 10 |
7 | 164ms | 1848kb | OK | 10 |
8 | 192ms | 2044kb | OK | 10 |
9 | 208ms | 2228kb | OK | 10 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 100 |