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: 5 8 1 1 1 1 1 1 1 1 1 0 0 1 1 0 1 1 1 0 0 1 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Output: 2
Input: 3 3 0 0 0 0 1 0 0 0 0
Output: 0
Input: 3 3 1 0 1 1 0 1 1 1 1
Output: 0