SourCaPlacement OS
Targeted Campus Assessment Prep
Loading SourCa...
Synchronizing placement benchmarks & campus recruitment roadmaps
Targeted Campus Assessment Prep
Loading SourCa...
Synchronizing placement benchmarks & campus recruitment roadmaps
Targeted Campus Assessment Prep
Setting up coding workspace...
Loading problem statement, test cases, and compiler sandbox
Input: 4 5 1 0 1 0 0 1 0 1 1 1 1 1 1 1 1 1 0 0 1 0
Output: 6
Input: 1 1 0
Output: 0
Input: 3 3 1 1 0 1 1 0 0 0 1
Output: 4
Input: 1 2 1 0
Output: 1