Borderou de evaluare (job #2127742)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i = 0; B[i]; ++i) ++cntB[ B[i] ];
^
user.cpp:31:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++cnt[ A[dr] ];
^
user.cpp:32:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cnt[ A[dr] ] == cntB[ A[dr] ]) ++need;
^
user.cpp:32:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cnt[ A[dr] ] == cntB[ A[dr] ]) ++need;
^
user.cpp:37:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i = 1; i < dr; ++i) ++cntA[ A[i] ];
^
user.cpp:44:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--cntA[ A[st++] ];
^
user.cpp:47:47: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(A[st] != A[dr]) --cntA[ A[st++] ];
^
user.cpp:48:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--cntA[ A[st++] ];
^
user.cpp:50:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--cntB[ A[dr] ];
^
user.cpp:52:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(cnt[ A[dr] ] > cntB[ A[dr] ] && dr <= N) ++cntA[ A[dr] ], --cnt[ A[dr++] ];
^
user.cpp:52:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(cnt[ A[dr] ] > cntB[ A[dr] ] && dr <= N) ++cntA[ A[dr] ], --cnt[ A[dr++] ];
^
user.cpp:52:70: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(cnt[ A[dr] ] > cntB[ A[dr] ] && dr <= N) ++cntA[ A[dr] ], --cnt[ A[dr++] ];
^
user.cpp:52:88: warning: array subscript has type ‘char’ [-Wchar-subscripts]
while(cnt[ A[dr] ] > cntB[ A[dr] ] && dr <= N) ++cntA[ A[dr] ], --cnt[ A[dr++] ];
^
user.cpp:22:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%s %s",A,B);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 5352kb | OK | 6 | 24 |
2 | 0ms | 5352kb | OK | 6 |
3 | 0ms | 5352kb | OK | 6 |
4 | 0ms | 5356kb | OK | 6 |
5 | 0ms | 5360kb | OK | 6 | 34 |
6 | 0ms | 5352kb | OK | 7 |
7 | 4ms | 5364kb | OK | 7 |
8 | 4ms | 5396kb | OK | 7 |
9 | 24ms | 5452kb | OK | 7 |
10 | 316ms | 19844kb | OK | 7 | 42 |
11 | 176ms | 15592kb | OK | 7 |
12 | 492ms | 30088kb | OK | 7 |
13 | 168ms | 11660kb | OK | 7 |
14 | 676ms | 39348kb | OK | 7 |
15 | 676ms | 39344kb | OK | 7 |
Punctaj total | 100 |