結果
| 問題 | No.3191 Operation Puzzle | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2025-06-27 21:30:18 | 
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 417 bytes | 
| コンパイル時間 | 3,009 ms | 
| コンパイル使用メモリ | 275,780 KB | 
| 実行使用メモリ | 7,848 KB | 
| 最終ジャッジ日時 | 2025-06-27 21:30:24 | 
| 合計ジャッジ時間 | 5,149 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 45 | 
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
    cin.tie(nullptr);
    ios_base::sync_with_stdio(false);
    int n; cin >> n;
    vector<int> a(n);
    for (int &ai : a) cin >> ai;
    int x; cin >> x;
    cout << "Yes" << "\n";
    for (int i = 0; i < 4; i++) {
        for (int j = 0; j < 4; j++) {
            cout << x << (j == 3 ? "\n" : " ");
        }
    }
    return 0;
}
            
            
            
        