Pagini recente » Borderou de evaluare (job #418787) | Borderou de evaluare (job #1480043) | Borderou de evaluare (job #1843120) | Borderou de evaluare (job #2592611) | Borderou de evaluare (job #2127450)
Borderou de evaluare (job #2127450)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i = 0; B[i]; ++i) ++cntB[ B[i] ];
^
user.cpp:30:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++cnt[ A[dr] ];
^
user.cpp:31:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cnt[ A[dr] ] == cntB[ A[dr] ]) ++need;
^
user.cpp:31:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cnt[ A[dr] ] == cntB[ A[dr] ]) ++need;
^
user.cpp:36:42: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i = 1; i < dr; ++i) ++cntA[ A[i] ];
^
user.cpp:43:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--cntA[ A[st++] ];
^
user.cpp:46:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
--cntB[ A[dr] ];
^
user.cpp:48: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:48: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:48: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:48: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:21: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 | 5356kb | OK | 6 | 24 |
2 | 0ms | 5360kb | OK | 6 |
3 | 0ms | 5356kb | OK | 6 |
4 | 0ms | 5352kb | OK | 6 |
5 | 0ms | 5360kb | Incorect | 0 | 0 |
6 | 0ms | 5356kb | OK | 7 |
7 | 4ms | 5368kb | Incorect | 0 |
8 | 4ms | 5396kb | OK | 7 |
9 | 24ms | 7504kb | Incorect | 0 |
10 | 348ms | 17796kb | Incorect | 0 | 0 |
11 | 172ms | 15592kb | OK | 7 |
12 | 516ms | 28040kb | Incorect | 0 |
13 | 172ms | 11656kb | Incorect | 0 |
14 | 676ms | 36412kb | Incorect | 0 |
15 | 680ms | 36412kb | Incorect | 0 |
Punctaj total | 24 |