Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

Dividing grids in area?

$
0
0

I want to know the C coding for the following scenario - Consider An area 100* 100. Squares of side 20 each is taken and whole area is divided into 25 grids . Now we randomly place some marbles in the whole area. How each marble will find its grid number? How to do this in C code


Viewing all articles
Browse latest Browse all 40121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>