목차

약 팔기

ps
링크acmicpc.net/…
출처BOJ
문제 번호15311
문제명약 팔기
레벨플래티넘 5
분류

애드혹

시간복잡도O(1)
사용한 언어Python 3.13
제출기록32412KB / 32ms
최고기록28ms
해결날짜2025/04/07

풀이

코드

"""Solution code for "BOJ 15311. 약 팔기".

- Problem link: https://www.acmicpc.net/problem/15311
- Solution link: http://www.teferi.net/ps/problems/boj/15311

Tags: [ad hoc]
"""


def main():
    N = int(input())  # pylint: disable=unused-variable
    print(2000)
    print('1000 ' * 1000, '1 ' * 1000)


if __name__ == '__main__':
    main()