結果

問題 No.3191 Operation Puzzle
ユーザー eve__fuyuki
提出日時 2025-06-30 18:05:53
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 372 bytes
コンパイル時間 1,978 ms
コンパイル使用メモリ 194,476 KB
実行使用メモリ 7,848 KB
最終ジャッジ日時 2025-06-30 18:05:57
合計ジャッジ時間 4,225 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other WA * 45
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

void fast_io() {
	ios::sync_with_stdio(false);
	std::cin.tie(nullptr);
}

int main() {
	fast_io();
	int n;
	cin >> n;
	for (int i = 0; i < n; i++) {
		int x;
		cin >> x;
	}
	int x;
	cin >> x;
	cout << "Yes\n";
	for (int i = 0; i < n; i++) {
		for (int j = 0; j < n; j++) {
			cout << x << (j + 1 == n ? "\n" : " ");
		}
	}
}
0