#include<iostream>
#include<bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin>>n;
string s;
string a[10001];
for(int i=1;i<=n;i++)
{
cin>>s;
a[i] = s;
}
for(int i=1;i<=n;i++)
{
a[i][0] = a[i][9];
a[i][1] = a[i][8];
a[i][3] = a[i][7];
a[i][4] = a[i][6];
cout<<a[i]<<endl;
}
return 0;
}
# |
결과 |
실행 시간 |
메모리 |
Grader output |
1 |
Correct |
5 ms |
640 KB |
Output is correct |
2 |
Incorrect |
34 ms |
760 KB |
Output isn't correct |
3 |
Correct |
5 ms |
640 KB |
Output is correct |
4 |
Correct |
5 ms |
640 KB |
Output is correct |
5 |
Correct |
5 ms |
640 KB |
Output is correct |
6 |
Incorrect |
5 ms |
640 KB |
Output isn't correct |
7 |
Incorrect |
5 ms |
640 KB |
Output isn't correct |
8 |
Incorrect |
5 ms |
640 KB |
Output isn't correct |
9 |
Incorrect |
6 ms |
640 KB |
Output isn't correct |
10 |
Incorrect |
31 ms |
768 KB |
Output isn't correct |