Submission #133242


Source Code Expand

#include <set>
#include <map>
#include <list>
#include <queue>
#include <stack>
#include <cmath>
#include <ctime>
#include <stdio.h>
#include <vector>
#include <string>
#include <bitset>
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <utility>
#include <numeric>
#include <complex>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <cassert>
#include <iostream>
#include <iterator>
#include <algorithm>
using namespace std;
typedef long long ll;
const double EPS = 1e-9;
typedef vector<int> vint;
typedef pair<int, int> pint;
typedef vector<vector<int> > mat;
#define rep(i, n) REP(i, 0, n)
#define ALL(v) v.begin(), v.end()
#define MSG(a) cout << #a << " " << a << endl;
#define REP(i, x, n) for(int i = x; i < n; i++)
#define pb push_back
#define mp make_pair
#define INF 1e+9

char m[4][100];
string s[4];
int main()
{
	/*
	for(int i=0;i<4;i++){
		scanf("%c %c %c %c",&m[3-i][3],&m[3-i][2],&m[3-i][1],&m[3-i][0]);
	}
	*/
	rep(i,4)
		getline(cin,s[i]);

	rep(i,4){
		rep(j,7){
			/*if(j%2==0)
				printf("%c",ans[i][j/2]);
			else
				printf(" ");
			if(j==6)printf("\n");
			*/
			cout<<s[3-i][6-j];
			if(j==6)cout<<endl;
		}
	}
	return 0;
}

Submission Info

Submission Time
Task B - 回転
User taku_1
Language C++ (G++ 4.6.4)
Score 100
Code Size 1242 Byte
Status AC
Exec Time 26 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 22 ms 812 KB
00_sample_01.txt AC 20 ms 796 KB
01_all_dot.txt AC 22 ms 800 KB
02_all_o.txt AC 23 ms 792 KB
03_all_x.txt AC 21 ms 836 KB
rand_0.txt AC 22 ms 816 KB
rand_1.txt AC 23 ms 792 KB
rand_10.txt AC 23 ms 800 KB
rand_11.txt AC 25 ms 800 KB
rand_12.txt AC 22 ms 796 KB
rand_13.txt AC 20 ms 792 KB
rand_14.txt AC 22 ms 800 KB
rand_15.txt AC 24 ms 796 KB
rand_16.txt AC 22 ms 808 KB
rand_17.txt AC 23 ms 916 KB
rand_18.txt AC 21 ms 720 KB
rand_19.txt AC 20 ms 780 KB
rand_2.txt AC 22 ms 856 KB
rand_20.txt AC 24 ms 792 KB
rand_21.txt AC 23 ms 812 KB
rand_22.txt AC 23 ms 800 KB
rand_23.txt AC 23 ms 796 KB
rand_24.txt AC 26 ms 796 KB
rand_3.txt AC 24 ms 788 KB
rand_4.txt AC 23 ms 796 KB
rand_5.txt AC 21 ms 912 KB
rand_6.txt AC 25 ms 924 KB
rand_7.txt AC 23 ms 796 KB
rand_8.txt AC 22 ms 796 KB
rand_9.txt AC 22 ms 792 KB