# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1154599 | salmon | Hop (COCI21_hop) | C++20 | 0 ms | 0 KiB |
#include <bits/stdc++.h>
using namespace std;
int N;
int ans[1100][1100];
int main(){
scanf(" %d",&N);
for(int i = 0; i < N; i++){
int h;
scanf(" %d",&h);
}
for(int i = 1; i < N; i++){
for(int j = 0; j < i; j++){
printf("%d ",j%3+1);
}
printf("\n");
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |