結果
| 問題 | No.3729 I Hate Hexagonal Tiling |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-09-19 14:13:27 |
| 言語 | Text (fcat) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 289 bytes |
| 記録 | |
| コンパイル時間 | 33 ms |
| コンパイル使用メモリ | 9,812 KB |
| 実行使用メモリ | 10,048 KB |
| 最終ジャッジ日時 | 2026-09-19 14:13:33 |
| 合計ジャッジ時間 | 2,016 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 33 |
ソースコード
-1
#include<bits/stdc++.h>
using namespace std;
using ll=long long;
int main(){
ios::sync_with_stdio(false);
cin.tie(nullptr);
ll N;
cin>>N;
for(int i=0;i<N;i++){
for(int j=0;j<=i;j++){
cout<<((i+j)%3==2?2:1)<<" \n"[j==i];
}
}
}