# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
956596 | MrBrionix | Costinland (info1cup19_costinland) | C++17 | 1 ms | 600 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std;
long long k,pos=0,tmp;
char mat[100][100];
void f1(){
for(int i=pos;i<pos+4;i++)for(int j=pos;j<pos+4;j++)mat[i][j]='X';
mat[pos+1][pos+2]=mat[pos+2][pos+1]=mat[pos+2][pos+2]='.';
for(int i=0;i<4;i++)mat[pos+4][pos+i]='r';
for(int i=0;i<4;i++)mat[pos+i][pos+4]='d';
if(tmp&1)mat[pos+4][pos]='X';
if(tmp&4)mat[pos+4][pos+1]='X';
if(tmp&8)mat[pos+4][pos+2]='X';
if(tmp&16)mat[pos+4][pos+3]='X';
if(tmp&2){
mat[pos][pos+4]='X';
mat[pos][pos+5]='X';
mat[pos+1][pos+5]='r';
}
}
void f2(){
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |