gives segmentation fault
Strongest fighter deque
You code is giving wrong output for the given sample test case.
Refer this https://ide.codingblocks.com/s/280601
You can verify your approach from this video
i have made the changes still it gives segmentation error
Check now.
It satisfies only 4 test cases.
this doesn’t satisfy 4 test cases
Submit this and check now. Is your code giving “Wrong Answer” or “Segmentation Fault”
1 Like