Submission #131776


Source Code Expand

#define _CRT_SECURE_NO_WARNINGS
#include <string>
#include <vector>
#include <algorithm>
#include <numeric>
#include <set>
#include <map>
#include <queue>
#include <iostream>
#include <sstream>
#include <cstdio>
#include <cmath>
#include <ctime>
#include <cstring>
#include <cctype>
#include <list>
#include <cassert>
#define rep(i,n) for(int (i)=0;(i)<(int)(n);++(i))
#define rer(i,l,u) for(int (i)=(int)(l);(i)<=(int)(u);++(i))
#define reu(i,l,u) for(int (i)=(int)(l);(i)<(int)(u);++(i))
#if defined(_MSC_VER) || __cplusplus > 199711L
#define aut(r,v) auto r = (v)
#else
#define aut(r,v) typeof(v) r = (v)
#endif
#define each(it,o) for(aut(it, (o).begin()); it != (o).end(); ++ it)
#define all(o) (o).begin(), (o).end()
#define pb(x) push_back(x)
#define mp(x,y) make_pair((x),(y))
#define mset(m,v) memset(m,v,sizeof(m))
#define INF 0x3f3f3f3f
#define INFL 0x3f3f3f3f3f3f3f3fLL
#define EPS 1e-9
using namespace std;
typedef vector<int> vi; typedef pair<int,int> pii; typedef vector<pair<int,int> > vpii;
typedef long long ll; typedef vector<long long> vl; typedef pair<long long,long long> pll; typedef vector<pair<long long,long long> > vpll;
typedef vector<string> vs; typedef long double ld;

char c[4][4];
int main() {
	rep(i, 4) rep(j, 4) cin >> c[i][j];
	rep(i, 4) {
		rep(j, 4) {
			if(j != 0) cout << ' ';
			cout << c[3-i][3-j];
		}
		cout << endl;
	}
	return 0;
}

Submission Info

Submission Time
Task B - 回転
User anta
Language C++ (G++ 4.6.4)
Score 100
Code Size 1427 Byte
Status AC
Exec Time 50 ms
Memory 924 KB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 30
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 AC 50 ms 784 KB
00_sample_01.txt AC 23 ms 924 KB
01_all_dot.txt AC 25 ms 896 KB
02_all_o.txt AC 22 ms 924 KB
03_all_x.txt AC 25 ms 884 KB
rand_0.txt AC 22 ms 716 KB
rand_1.txt AC 22 ms 796 KB
rand_10.txt AC 20 ms 712 KB
rand_11.txt AC 22 ms 924 KB
rand_12.txt AC 23 ms 736 KB
rand_13.txt AC 23 ms 864 KB
rand_14.txt AC 23 ms 792 KB
rand_15.txt AC 24 ms 924 KB
rand_16.txt AC 22 ms 924 KB
rand_17.txt AC 22 ms 920 KB
rand_18.txt AC 22 ms 796 KB
rand_19.txt AC 22 ms 796 KB
rand_2.txt AC 24 ms 812 KB
rand_20.txt AC 23 ms 920 KB
rand_21.txt AC 23 ms 924 KB
rand_22.txt AC 27 ms 880 KB
rand_23.txt AC 22 ms 920 KB
rand_24.txt AC 24 ms 852 KB
rand_3.txt AC 23 ms 856 KB
rand_4.txt AC 30 ms 792 KB
rand_5.txt AC 22 ms 800 KB
rand_6.txt AC 22 ms 924 KB
rand_7.txt AC 22 ms 844 KB
rand_8.txt AC 24 ms 924 KB
rand_9.txt AC 25 ms 888 KB