結果

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

ソースコード

diff #

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

int main() {
	int N;
	cin >> N;
	int K = 1;
	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