Submission #890092


Source Code Expand

#include <bits/stdc++.h>

using namespace std;

#define REP(i,a,b) for(int i=a;i<(int)b;i++)
#define rep(i,n) REP(i,0,n)
#define all(c) (c).begin(), (c).end()
#define zero(a) memset(a, 0, sizeof a)
#define minus(a) memset(a, -1, sizeof a)
#define watch(a) { cout << #a << " = " << a << endl; }
template<class T1, class T2> inline bool minimize(T1 &a, T2 b) { return b < a && (a = b, 1); }
template<class T1, class T2> inline bool maximize(T1 &a, T2 b) { return a < b && (a = b, 1); }

typedef long long ll;
int const inf = 1<<29;

int main() {
  string s, t;
  int a, b, c, x, y, z, N;

  cin >> s;
  rep(i, 4) {
    cout << s[i];
  }

  REP(i, 4, s.size()) {
    cout << s[i];
  }
  cout << endl;
  
  return 0;
}

Submission Info

Submission Time
Task A - CODEFESTIVAL 2016
User motxx
Language C++14 (GCC 5.4.1)
Score 0
Code Size 745 Byte
Status WA
Exec Time 9 ms
Memory 764 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 0 / 100
Status
WA × 3
WA × 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 WA 9 ms 764 KB
0_01.txt WA 2 ms 256 KB
0_02.txt WA 2 ms 256 KB
1_00.txt WA 3 ms 256 KB
1_01.txt WA 2 ms 256 KB
1_02.txt WA 3 ms 256 KB