Submission #1690836
Source Code Expand
#include <bits/stdc++.h>
using namespace std;
#define REP(i,n) for(int i=0;i<n;i++)
#define REPR(i,n) for(int i=n;i>=0;i--)
#define FOR(i,m,n) for(int i=m;i<n;i++)
#define EPS (1e-7)
#define INF 1e9
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
int vx[]={0,1,0,-1};
int vy[]={1,0,-1,0};
int dx[]={0,1,0,-1,1,1,-1,-1};
int dy[]={1,0,-1,0,1,-1,1,-1};
const ll mod=1000000000+7;
const int MAX_N=100000;
int main(){
string s[4];
REP(i,4)cin>>s[i];
char ans[4][4];
REP(i,4){
REP(j,4){
ans[i][j]=s[3-i][3-j];
}
}
REP(i,4){
REP(j,4){
cout<<ans[i][j];
}
cout<<endl;
}
cout<<endl;
return 0;
}
Submission Info
Submission Time |
|
Task |
B - 回転 |
User |
kwkm0429 |
Language |
C++14 (GCC 5.4.1) |
Score |
0 |
Code Size |
679 Byte |
Status |
WA |
Exec Time |
1 ms |
Memory |
256 KB |
Judge Result
Set Name |
All |
Score / Max Score |
0 / 100 |
Status |
|
Set Name |
Test Cases |
All |
00_sample_00.txt, 00_sample_01.txt, 01_all_dot.txt, 02_all_o.txt, 03_all_x.txt, rand_0.txt, rand_1.txt, rand_10.txt, rand_11.txt, rand_12.txt, rand_13.txt, rand_14.txt, rand_15.txt, rand_16.txt, rand_17.txt, rand_18.txt, rand_19.txt, rand_2.txt, rand_20.txt, rand_21.txt, rand_22.txt, rand_23.txt, rand_24.txt, rand_3.txt, rand_4.txt, rand_5.txt, rand_6.txt, rand_7.txt, rand_8.txt, rand_9.txt |
Case Name |
Status |
Exec Time |
Memory |
00_sample_00.txt |
WA |
1 ms |
256 KB |
00_sample_01.txt |
WA |
1 ms |
256 KB |
01_all_dot.txt |
WA |
1 ms |
256 KB |
02_all_o.txt |
WA |
1 ms |
256 KB |
03_all_x.txt |
WA |
1 ms |
256 KB |
rand_0.txt |
WA |
1 ms |
256 KB |
rand_1.txt |
WA |
1 ms |
256 KB |
rand_10.txt |
WA |
1 ms |
256 KB |
rand_11.txt |
WA |
1 ms |
256 KB |
rand_12.txt |
WA |
1 ms |
256 KB |
rand_13.txt |
WA |
1 ms |
256 KB |
rand_14.txt |
WA |
1 ms |
256 KB |
rand_15.txt |
WA |
1 ms |
256 KB |
rand_16.txt |
WA |
1 ms |
256 KB |
rand_17.txt |
WA |
1 ms |
256 KB |
rand_18.txt |
WA |
1 ms |
256 KB |
rand_19.txt |
WA |
1 ms |
256 KB |
rand_2.txt |
WA |
1 ms |
256 KB |
rand_20.txt |
WA |
1 ms |
256 KB |
rand_21.txt |
WA |
1 ms |
256 KB |
rand_22.txt |
WA |
1 ms |
256 KB |
rand_23.txt |
WA |
1 ms |
256 KB |
rand_24.txt |
WA |
1 ms |
256 KB |
rand_3.txt |
WA |
1 ms |
256 KB |
rand_4.txt |
WA |
1 ms |
256 KB |
rand_5.txt |
WA |
1 ms |
256 KB |
rand_6.txt |
WA |
1 ms |
256 KB |
rand_7.txt |
WA |
1 ms |
256 KB |
rand_8.txt |
WA |
1 ms |
256 KB |
rand_9.txt |
WA |
1 ms |
256 KB |