結果
| 問題 | No.3725 Exploit Wall |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2026-07-01 11:02:55 |
| 言語 | C++23 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 569µs | |
| コード長 | 393 bytes |
| 記録 | |
| コンパイル時間 | 2,149 ms |
| コンパイル使用メモリ | 329,656 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-09-19 12:31:11 |
| 合計ジャッジ時間 | 8,726 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 59 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
int n;
cin >> n;
for (int row = 0; row < n; row++) {
for (int col = 0; col < n; col++) {
bool white = (row + col <= n - 3) || (row + col >= n + 1);
cout << (white ? '.' : '#');
}
cout << '\n';
}
return 0;
}