| 10 | //p[n] is the array of crime cases and recuitments |
| 11 | int p[n]; |
| 12 | fo(i,n){ |
| 13 | cin>>p[i]; |
| 14 | } |
| 15 | //if the i th element of the array is anything except -1 (which denotes crime) that means police recruited is increased from 0 |
| 16 | //else if the crime is increased that means police is assigned and no of policeman free decreases |
| 17 | //otherwise if police count becomes 0 and crimes are reported counts increase which denotes unresolved crimes |
nothing calls this directly
no outgoing calls
no test coverage detected