#include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
char c[5][15] = { 0 };
for (int i = 0; i < 5; i++) {
cin >> c[i];
}
for (int i = 0; i < 15; i++) {
for (int j = 0; j < 5; j++) {
if (c[j][i] == 0)continue;
cout << c[j][i];
}
}
}
'Algorithm ๐ง๐ปโ๐ป > ๋ฐฑ์ค(BOJ)' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[๋ฐฑ์ค,c++] 10808๋ฒ - ์ํ๋ฒณ ๊ฐ์ (0) | 2021.10.23 |
---|---|
[๋ฐฑ์ค,c++] 10807๋ฒ - ๊ฐ์ ์ธ๊ธฐ (0) | 2021.10.23 |
[๋ฐฑ์ค,c++] 10804๋ฒ - ์นด๋ ์ญ๋ฐฐ์น (0) | 2021.10.23 |
[๋ฐฑ์ค,c++] 10773๋ฒ - ์ ๋ก (0) | 2021.10.23 |
[๋ฐฑ์ค,c++] 10718๋ฒ - We love kriii (0) | 2021.10.16 |
[๋ฐฑ์ค,c++] 10610๋ฒ - 30 (0) | 2021.10.16 |
๋๊ธ