結果
問題 | No.2843 Birthday Present Struggle |
ユーザー |
![]() |
提出日時 | 2024-08-23 23:41:17 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 235 bytes |
コンパイル時間 | 412 ms |
コンパイル使用メモリ | 82,492 KB |
実行使用メモリ | 54,348 KB |
最終ジャッジ日時 | 2024-08-23 23:41:25 |
合計ジャッジ時間 | 7,383 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 34 |
ソースコード
N = int(input())Ax,Ay = map(int, input().split())Bx,By = map(int, input().split())Cx,Cy = map(int, input().split())if Cx>1:print(Cx-1,Cy)if Cx<N:print(Cx+1,Cy)if Cy>1:print(Cx,Cy-1)if Cy<N:print(Cx,Cy+1)