CodeChef Starters 122 Div 3 Question 1 : Count of number greater than 4 equals to size of array then YES else NO. Question 2 : Calculate which player has most score return the index. Question 3 : How ...
/* int dx[] = {1,-1,0,0,1,1,-1,-1} , dy[] = {0,0,1,-1,1,-1,1,-1}; */ // 8 Direction /* int dx[] = {1,-1,1,-1,2,2,-2,-2} , dy[] = {2,2,-2,-2,1,-1,1,-1}; */ // Knight ...
I participated in CodeChef Starters 157 and solved 3 problems and achieved a global rank of 387. Problem 1: Not-too-far Replacement (TWOCLOSE): Take the 𝑛+1 th value in the array into a temp variable ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results