Submission #891413
Source Code Expand
#include <cstdio> #include <cstdlib> #include <cstring> #include <iostream> #include <vector> #include <string> #include <algorithm> #include <stack> #include <queue> #include <set> #include <map> using namespace std; #define inf 0x3f3f3f3f #define fast ios::sync_with_stdio(false); cin.tie(0); cout.tie(0) #define mp make_pair #define pb push_back #define sz(v) (int)v.size() #define all(x) (x).begin(), (x).end() #define rall(x) (x).rbegin(), (x).rend() #define forn(i, n) for (int i = 0; i < (int)(n); ++i) #define for1(i, n) for (int i = 1; i <= (int)(n); ++i) typedef long long ll; typedef pair<ll, ll> pii; typedef vector<ll> vi; const int N=1e5+7; ll n,m,x,y,k,ans; int main(){ fast; string s; char t[20]; cin>>s; forn(i,4) t[i]=s[i]; t[4]=' '; for(int i=4;i<12;i++){ t[i+1]=s[i]; } cout<<t<<endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - CODEFESTIVAL 2016 |
User | gtpan77 |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 906 Byte |
Status | AC |
Exec Time | 3 ms |
Memory | 256 KB |
Judge Result
Set Name | Sample | All | ||||
---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 100 / 100 | ||||
Status |
|
|
Set Name | Test Cases |
---|---|
Sample | 0_00.txt, 0_01.txt, 0_02.txt |
All | 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
0_00.txt | AC | 3 ms | 256 KB |
0_01.txt | AC | 3 ms | 256 KB |
0_02.txt | AC | 2 ms | 256 KB |
1_00.txt | AC | 2 ms | 256 KB |
1_01.txt | AC | 2 ms | 256 KB |
1_02.txt | AC | 2 ms | 256 KB |