結果
問題 |
No.2843 Birthday Present Struggle
|
ユーザー |
|
提出日時 | 2024-09-04 10:50:59 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 346 bytes |
コンパイル時間 | 1,952 ms |
コンパイル使用メモリ | 193,304 KB |
最終ジャッジ日時 | 2025-02-24 03:51:49 |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 34 |
ソースコード
#include<bits/stdc++.h> using namespace std; using ll=long long; int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); ll N; cin>>N; ll y,x; for(int i=0;i<3;i++)cin>>y>>x; cout<<4<<endl; cout<<y-1<<" "<<x<<endl; cout<<y+1<<" "<<x<<endl; cout<<y<<" "<<x-1<<endl; cout<<y<<" "<<x+1<<endl; }