Submission #890177
Source Code Expand
#include "bits/stdc++.h" #define debug(x) cout<<#x<<": "<<x<<endl #define rep(i,n) for (int i=0;i<(n);i++) #define FOR(i,a,b) for (int i=(a);i<=(b);i++) #define all(a) (a).begin(),(a).end() using namespace std; typedef vector<int> VI; typedef vector<vector<int>> VVI; typedef long long ll; void solve() { #ifdef _WIN32 istream &cin = ifstream("input.txt"); #endif string str; cin >> str; str.insert(4, " "); cout << str << endl; } int main() { cin.tie(0); ios::sync_with_stdio(false); solve(); system("PAUSE"); return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - CODEFESTIVAL 2016 |
User | piniky |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 578 Byte |
Status | AC |
Exec Time | 10 ms |
Memory | 1008 KB |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:34:17: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result] system("PAUSE"); ^
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 | 10 ms | 1008 KB |
0_01.txt | AC | 4 ms | 504 KB |
0_02.txt | AC | 4 ms | 376 KB |
1_00.txt | AC | 4 ms | 504 KB |
1_01.txt | AC | 4 ms | 504 KB |
1_02.txt | AC | 4 ms | 500 KB |