結果
| 問題 | No.3729 I Hate Hexagonal Tiling |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-09-19 14:41:50 |
| 言語 | C++23(gcc16) (gcc 16.1.0 + boost 1.92.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 269 bytes |
| 記録 | |
| コンパイル時間 | 992 ms |
| コンパイル使用メモリ | 170,160 KB |
| 実行使用メモリ | 10,048 KB |
| 最終ジャッジ日時 | 2026-09-19 14:41:53 |
| 合計ジャッジ時間 | 3,079 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge5_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 17 WA * 16 |
ソースコード
#include <iostream>
#include <vector>
using namespace std;
int main(){
int N; cin>>N;
for (int i=0; i<N; i++){
int r=0;
if (i%3==1) r = 2;
if (i%3==2) r = 1;
for (int j=0; j<i+1; j++){
if (j%3==r) cout<<2<<" ";
else cout<<1<<" ";
}
cout<<endl;
}
}