結果

問題 No.2843 Birthday Present Struggle
ユーザー cologne
提出日時 2025-04-28 13:06:10
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 46 ms / 2,000 ms
コード長 355 bytes
コンパイル時間 482 ms
コンパイル使用メモリ 82,304 KB
実行使用メモリ 52,352 KB
最終ジャッジ日時 2025-04-28 13:06:15
合計ジャッジ時間 4,066 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 34
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
import sys


def input():
    return sys.stdin.readline().strip()


def main():
    input()
    input()
    input()
    cx,cy=map(int,input().split())
    print(4)
    for i in range(-1, 2):
        for j in range(-1, 2):
            if (i != 0 or j != 0) and i*j == 0:
                print(cx+i,cy+j)


if __name__ == "__main__":
    main()
0