Submission #890782
Source Code Expand
#define _CRT_SECURE_NO_WARNINGS #include <iostream> #include<cstdio> #include<cstring> #include<cstdlib> #include<cmath> #include<iostream> #include<algorithm> #include<vector> #include<map> #include<set> #include<queue> #include<bitset> #include<utility> #include<functional> #include<iomanip> #include<sstream> #include<ctime> #include<cassert> //[a, b) #define rep(i,a,b) for (int i=(a),_ed=(b);i<_ed;i++) #define per(i,a,b) for (int i=(b)-1,_ed=(a);i>=_ed;i--) #define vsort(v) sort(v.begin(),v.end()) #define siz(x) ((int)(x).size()) #define ll long long template <class T> inline T gcd(T a, T b) { if (b == 0)return a; return gcd(b, a%b); } using namespace std; int main() { #ifdef debug freopen("a.txt", "r", stdin); #endif string s; cin >> s; rep(i, 0, 4) { cout << s[i]; } cout << " "; rep(i, 4, 12) { cout << s[i]; } cout << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - CODEFESTIVAL 2016 |
User | wjwever1 |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 926 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 | 2 ms | 256 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 | 2 ms | 256 KB |