I submitted the code but the 2nd test case is showing run error…
Problem-https://hack.codingblocks.com/contests/c/452/433
My code-https://ide.codingblocks.com/#/s/15423
Search index problem
Yeah ! actually you have fixed the size of array thats why you are getting the run time error , just make N as size of array
https://ide.codingblocks.com/#/s/15462
1 Like