Submission #6941660


Source Code Expand

#include <bits/stdc++.h>
using namespace std;

int main() {
  string s;
  cin >> s;
  string str1, str2, str3;
  str2 = " ";
  for (int i = 0; i < 4; i++) {
    str1.at(i) = s.at(i);
  }
  for (int i = 0; i < 8; i++) {
    str3.at(i) = s.at(i + 4);
  }
  cout << str1 << str2 << str3 << endl;
}
  

Submission Info

Submission Time
Task A - CODEFESTIVAL 2016
User aonagi
Language C++14 (GCC 5.4.1)
Score 0
Code Size 315 Byte
Status RE
Exec Time 296 ms
Memory 512 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
RE × 3
RE × 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 RE 296 ms 512 KB
0_01.txt RE 98 ms 256 KB
0_02.txt RE 97 ms 256 KB
1_00.txt RE 96 ms 256 KB
1_01.txt RE 99 ms 256 KB
1_02.txt RE 99 ms 256 KB