結果

問題 No.2339 Factorial Paths
ユーザー achapiachapi
提出日時 2023-06-02 22:26:22
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 297 bytes
コンパイル時間 1,885 ms
コンパイル使用メモリ 191,888 KB
最終ジャッジ日時 2025-02-13 19:06:49
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 2
other AC * 1 WA * 19
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
	int N;
	cin >> N;
	int K = 1;
	cout << N + 1 << ' ' << N + 1 << '\n';
	for (int i = 0; i < N + 1; i++){
		for (int j = 0; j < N + 1; j++){
			if (j < K){
				cout << '.';
			} else {
				cout << '#';
			}
		}
		cout << '\n';
		K++;
	}
}
0