結果
| 問題 | No.3729 I Hate Hexagonal Tiling |
| コンテスト | |
| ユーザー |
テナガザル
|
| 提出日時 | 2026-09-19 16:22:52 |
| 言語 | C++23 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 255 bytes |
| 記録 | |
| コンパイル時間 | 992 ms |
| コンパイル使用メモリ | 165,720 KB |
| 実行使用メモリ | 9,996 KB |
| 最終ジャッジ日時 | 2026-09-19 16:22:57 |
| 合計ジャッジ時間 | 2,950 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 17 WA * 16 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main()
{
int n;
cin >> n;
int d[3] = {0, 2, 1};
for (int i = 0; i < n; ++i) for (int j = 0; j <= i; ++j) cout << (j % 3 == d[i % 3] ? 2 : 1) << " \n"[j == i];
}
テナガザル