| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1360965 | yyc000123 | Monster-Go (EGOI25_monstergo) | C++20 | 1 ms | 344 KiB |
#include<bits/stdc++.h>
using namespace std ;
const int N = 55 ;
int n ;
int main(){
ios::sync_with_stdio(0),cin.tie(0),cout.tie(0) ;
cin >> n ;
if(n%13==0){
for(int i=0 ; i<n/13 ; i++){
for(int j=0 ; j<13 ; j++){
for(int l=0 ; l<13 ; l++){
if(j==l) continue ;
cout << 13*i+l << ' ' ;
}
cout << '\n' ;
}
}
return 0 ;
}
for(int i=0 ; i<n ; i++){
for(int j=0 ; j<12 ; j++) cout << 12*i+j << ' ' ;
cout << '\n' ;
}
return 0 ;
}| # | Result | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
