Submission #890192
Source Code Expand
#include <bits/stdc++.h> /* -------------------------------- Template -------------------------------- */ #define REP(i,n) for(int i=0;i<(int)(n);i++) #define ALL(x) (x).begin(),(x).end() using namespace std; using ll = long long; using ld = long double; template <typename T> T &chmin(T &a, const T &b) { return a = min(a, b); } template <typename T> T &chmax(T &a, const T &b) { return a = max(a, b); } template<typename T> T inf() { assert(false); } template<> constexpr int inf<int>() { return 1e9; } template<> constexpr ll inf<ll>() { return 1e18; } template<> constexpr ld inf<ld>() { return 1e30; } /* -------------------------------- Library -------------------------------- */ /* ---------------------------------- Main ---------------------------------- */ int main() { string s; cin >> s; cout << s.substr(0, 4) << " " << s.substr(4) << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - CODEFESTIVAL 2016 |
User | asi1024 |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 914 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 | 2 ms | 256 KB |
0_02.txt | AC | 3 ms | 256 KB |
1_00.txt | AC | 2 ms | 256 KB |
1_01.txt | AC | 2 ms | 256 KB |
1_02.txt | AC | 3 ms | 256 KB |