Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

New puzzle from Codeforces Problem 467 A #12

Description

defsat(ans: List[List[int]]):
""" Find a list of lists of two integers where the number of pairs in which the second number is more than two greater than the first number is a given constant Inspired by [Codeforces Problem 467 A](https://codeforces.com/problemset/problem/467/A) """target=17foriinrange(len(ans)):
a, b=ans[i]
ifb-a>=2:
target-=1returntarget==0

Solvers, post your solutions in the comments using the following formatting:

<details><summary>Reveal solution</summary>
```python
def sol():
return "world" # replace with your solution
```
</details>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions