Hello, can you explain how to solve this problem, please?

**Problem**

Thank you!

# | User | Rating |
---|---|---|

1 | tourist | 3690 |

2 | jiangly | 3647 |

3 | Benq | 3581 |

4 | orzdevinwang | 3570 |

5 | Geothermal | 3569 |

5 | cnnfls_csy | 3569 |

7 | Radewoosh | 3509 |

8 | ecnerwala | 3486 |

9 | jqdai0815 | 3474 |

10 | gyh20 | 3447 |

# | User | Contrib. |
---|---|---|

1 | maomao90 | 173 |

2 | awoo | 164 |

3 | adamant | 163 |

4 | TheScrasse | 159 |

5 | nor | 157 |

6 | maroonrk | 156 |

7 | -is-this-fft- | 152 |

8 | Petr | 146 |

8 | orz | 146 |

10 | pajenegod | 145 |

Hello, can you explain how to solve this problem, please?

A circle with a diameter of 2n-1 is symmetrically drawn on a chessboard of 2nx2n cells. Through how many squares of the board does this circle pass and how many squares will fit completely inside this circle? E.g if n = 4, then answer is, completely inside: 4, pass: 12;

Thank you!

Codeforces (c) Copyright 2010-2024 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: May/20/2024 09:25:10 (i1).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|