Submission #132043
Source Code Expand
#include <iostream> #include <vector> #include <string> using namespace std; int main(){ vector<string> v; for(int i = 0; i < 4; i++){ string s1,s2,s3,s4; cin >> s1 >> s2 >> s3 >> s4; v.push_back(s1+s2+s3+s4); } vector<string> v2(4, "aaaa"); for(int y = 0; y < 4; y++){ for(int x = 0; x < 4; x++){ v2[x][y] = v[3-x][3-y]; } } for(int i = 0; i < 4; i++){ cout << v2[i][0] << " " << v2[i][1] << " " << v2[i][2] << "" << v2[i][3] << endl; } return 0; }
Submission Info
Submission Time | |
---|---|
Task | B - 回転 |
User | cls0001011 |
Language | C++ (G++ 4.6.4) |
Score | 0 |
Code Size | 536 Byte |
Status | WA |
Exec Time | 28 ms |
Memory | 932 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 | 22 ms | 800 KB |
00_sample_01.txt | WA | 20 ms | 804 KB |
01_all_dot.txt | WA | 21 ms | 924 KB |
02_all_o.txt | WA | 21 ms | 680 KB |
03_all_x.txt | WA | 21 ms | 804 KB |
rand_0.txt | WA | 21 ms | 808 KB |
rand_1.txt | WA | 24 ms | 804 KB |
rand_10.txt | WA | 20 ms | 800 KB |
rand_11.txt | WA | 20 ms | 796 KB |
rand_12.txt | WA | 21 ms | 680 KB |
rand_13.txt | WA | 21 ms | 800 KB |
rand_14.txt | WA | 21 ms | 932 KB |
rand_15.txt | WA | 21 ms | 808 KB |
rand_16.txt | WA | 20 ms | 752 KB |
rand_17.txt | WA | 20 ms | 924 KB |
rand_18.txt | WA | 21 ms | 800 KB |
rand_19.txt | WA | 21 ms | 928 KB |
rand_2.txt | WA | 19 ms | 796 KB |
rand_20.txt | WA | 20 ms | 800 KB |
rand_21.txt | WA | 23 ms | 792 KB |
rand_22.txt | WA | 22 ms | 932 KB |
rand_23.txt | WA | 20 ms | 800 KB |
rand_24.txt | WA | 20 ms | 804 KB |
rand_3.txt | WA | 20 ms | 932 KB |
rand_4.txt | WA | 20 ms | 800 KB |
rand_5.txt | WA | 21 ms | 804 KB |
rand_6.txt | WA | 21 ms | 920 KB |
rand_7.txt | WA | 28 ms | 800 KB |
rand_8.txt | WA | 20 ms | 804 KB |
rand_9.txt | WA | 22 ms | 792 KB |