結果

問題 No.2843 Birthday Present Struggle
ユーザー askr58
提出日時 2024-08-23 21:13:36
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 335 bytes
コンパイル時間 4,863 ms
コンパイル使用メモリ 309,056 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-08-23 21:13:50
合計ジャッジ時間 6,685 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 34
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
using ll=long long;

int main()
{
    int n;
    cin>>n;
    int a,b;
    for(int i=0;i<3;i++)cin>>a>>b;
    cout<<4<<endl;
    cout<<a-1<<" "<<b<<endl;
    cout<<a+1<<" "<<b<<endl;
    cout<<a<<" "<<b-1<<endl;
    cout<<a<<" "<<b+1<<endl;
}
0