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

**Problem**

Thank you!

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

1 | tourist | 3882 |

2 | maroonrk | 3539 |

3 | Benq | 3513 |

4 | MiracleFaFa | 3466 |

5 | ksun48 | 3462 |

6 | ecnerwala | 3446 |

7 | slime | 3428 |

8 | Um_nik | 3426 |

9 | jiangly | 3401 |

10 | greenheadstrange | 3393 |

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

1 | awoo | 192 |

2 | -is-this-fft- | 191 |

3 | Monogon | 185 |

4 | Um_nik | 182 |

4 | YouKn0wWho | 182 |

6 | maroonrk | 169 |

7 | antontrygubO_o | 167 |

8 | errorgorn | 166 |

9 | kostka | 165 |

9 | SecondThread | 165 |

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-2022 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: May/21/2022 06:46:00 (k3).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|