Submission #890415


Source Code Expand

#include <iostream>
#include <vector>
#include <algorithm>
#include <string>
#include <utility>
#include <map>
#include <set>
#include <sstream>
#include <cstdio>
#include <cmath>
#include <cstdlib>
using namespace std;

#define fi first
#define se second
#define all(x) (x).begin(), (x).end()
#define rep(i,n) for(int i = 0; i < n; ++i)
#define rrep(i,n) for(int i = (int)n - 1; i >= 0; --i)

typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;

int main() {
	string s;
	cin >> s;
	cout << string(s.begin(), s.begin()+4)
		<< " "
		<< string(s.begin()+4, s.end()) << endl;
}

Submission Info

Submission Time
Task A - CODEFESTIVAL 2016
User konjo
Language C++14 (GCC 5.4.1)
Score 100
Code Size 628 Byte
Status AC
Exec Time 4 ms
Memory 384 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 6
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 4 ms 384 KB
0_01.txt AC 3 ms 256 KB
0_02.txt AC 3 ms 256 KB
1_00.txt AC 3 ms 256 KB
1_01.txt AC 3 ms 256 KB
1_02.txt AC 3 ms 256 KB