Submission #238646

# Submission time Handle Problem Language Result Execution time Memory
238646 2020-06-12T09:00:51 Z TrayanaG Datum (COCI20_datum) C++14
20 / 50
34 ms 768 KB
#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;
}
# Verdict Execution time Memory 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