Antique_Coder's blog

By Antique_Coder, history, 7 months ago, In English

Problem: 1977B - Бинарная покраска

Code: 262844612

Language: Python 3.8.*

  • Vote: I like it
  • +2
  • Vote: I do not like it

»
7 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Antique_Coder (previous revision, new revision, compare).

»
7 months ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

Antique_Coder AK_IOI!

»
7 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Use PyPy instead of Python3

»
7 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Use pypy-3, it works just fine

»
7 months ago, # |
  Vote: I like it 0 Vote: I do not like it

just change def binaryColouring(num:int)->list[int]: to def binaryColouring(num):

hope this helped