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: 2 1 1 1 0 0 0 1 1 1 1 0
Output: 6
Input: 3 0 0 1 1 0 0 1 1 1 0 1 1 0 0 0 1 1 1 1
Output: 10
Input: 2 1
Output: 1
Input: 2 2
Output: 1