結果
| 問題 | No.3191 Operation Puzzle | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2025-10-02 23:46:07 | 
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 503 bytes | 
| コンパイル時間 | 3,155 ms | 
| コンパイル使用メモリ | 275,104 KB | 
| 実行使用メモリ | 7,716 KB | 
| 最終ジャッジ日時 | 2025-10-02 23:46:13 | 
| 合計ジャッジ時間 | 5,674 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 45 | 
ソースコード
// #pragma GCC optimize ("Ofast")
// #pragma GCC optimize ("unroll-loops")
// #pragma GCC target ("avx,avx2,fma")
#include <bits/stdc++.h>
#define rep(i, a, b) for(int i = (a); i <= (b); i ++)
using std::cin, std::cout, std::cerr;
using ll = long long;
int main() {
    std::ios::sync_with_stdio(false);
    int n; cin >> n;
    int x;
    rep(i, 0, n - 1) cin >> x;
    cin >> x;
    cout << "Yes\n";
    rep(i, 1, 4) {
        rep(j, 1, 4)
            cout << x << ' ';
        cout << '\n';
    }
}
            
            
            
        