結果
| 問題 | No.2843 Birthday Present Struggle |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-23 21:13:36 |
| 言語 | C++23 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 379µs | |
| コード長 | 335 bytes |
| 記録 | |
| コンパイル時間 | 4,815 ms |
| コンパイル使用メモリ | 374,744 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2026-08-25 03:45:20 |
| 合計ジャッジ時間 | 6,323 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 34 |
ソースコード
#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;
}