結果
| 問題 | No.3191 Operation Puzzle |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-06-27 21:29:53 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| + 270µs | |
| コード長 | 732 bytes |
| 記録 | |
| コンパイル時間 | 971 ms |
| コンパイル使用メモリ | 183,852 KB |
| 実行使用メモリ | 9,392 KB |
| 最終ジャッジ日時 | 2026-07-12 20:15:48 |
| 合計ジャッジ時間 | 2,872 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 45 |
ソースコード
#include<bits/stdc++.h>
#define rep(i,n) for(int i=0; i< (n); i++)
#define all(a) (a).begin(),(a).end()
using namespace std;
typedef long long ll;
typedef pair<int,int> P;
const int mod = 998244353;
const int inf = (1<<30);
const ll INF = (1ull<<62);
const int vx[4] = {1,0,-1,0};
const int vy[4] = {0,1,0,-1};
template< typename T1, typename T2 >
inline bool chmax(T1 &a, T2 b) { return a < b && (a = b, true); }
template< typename T1, typename T2 >
inline bool chmin(T1 &a, T2 b) { return a > b && (a = b, true); }
int main(){
int n; cin>>n;
vector<int> a(n);
rep(i,n) cin>>a[i];
int x; cin>>x;
cout<<"Yes"<<endl;
rep(i,4){
rep(j,4){
cout<<x<<" ";
}
cout<<endl;
}
}