#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;
}
# |
결과 |
실행 시간 |
메모리 |
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 |