Submission #217112

# Submission time Handle Problem Language Result Execution time Memory
217112 2020-03-29T01:55:33 Z milagrosvilla1803 Datum (COCI20_datum) C++11
20 / 50
9 ms 512 KB
#include <bits/stdc++.h>
using namespace std;
int n;
char fecha[15];
int main()
{
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    cin>>n;
    for(int i=0;i<n;i++){
        for(int j=0;j<11;j++){
            cin>>fecha[j];
        }
        cout<<fecha[9]<<fecha[8]<<"."<<fecha[7]<<fecha[6]<<"."<<fecha[6]<<fecha[7]<<fecha[8]<<fecha[9]<<".\n";
    }
    return 0;
}
# Verdict Execution time Memory Grader output
1 Correct 4 ms 256 KB Output is correct
2 Incorrect 8 ms 512 KB Output isn't correct
3 Correct 4 ms 384 KB Output is correct
4 Correct 5 ms 384 KB Output is correct
5 Correct 5 ms 384 KB Output is correct
6 Incorrect 4 ms 384 KB Output isn't correct
7 Incorrect 4 ms 384 KB Output isn't correct
8 Incorrect 4 ms 384 KB Output isn't correct
9 Incorrect 4 ms 384 KB Output isn't correct
10 Incorrect 9 ms 512 KB Output isn't correct