Submission #42737411
Source Code Expand
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;cin>>n;
string s;cin>>s;
for(int i = 0;i<n;++i){
cout<<s[i]<<s[i];
}
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Echo |
| User | Sagor0078 |
| Language | C++ (GCC 9.2.1) |
| Score | 100 |
| Code Size | 149 Byte |
| Status | AC |
| Exec Time | 7 ms |
| Memory | 3532 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | sample_01.txt, sample_02.txt |
| All | sample_01.txt, sample_02.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| sample_01.txt | AC | 7 ms | 3404 KiB |
| sample_02.txt | AC | 2 ms | 3496 KiB |
| test_01.txt | AC | 1 ms | 3460 KiB |
| test_02.txt | AC | 2 ms | 3460 KiB |
| test_03.txt | AC | 2 ms | 3504 KiB |
| test_04.txt | AC | 1 ms | 3476 KiB |
| test_05.txt | AC | 2 ms | 3460 KiB |
| test_06.txt | AC | 1 ms | 3532 KiB |