Submission #509741

#TimeUsernameProblemLanguageResultExecution timeMemory
509741SalamaSplit (info1cup19_split)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; int main ()  {  string d; cin >>d; for(long long o=0;o<d.size()/2;o++) { cout <<d[o];}  cout <<" "; for(long long o=d.size()/2;o<d.size();o++)cout <<d[o];  return 0;  }

Compilation message (stderr)

split.cpp:4:2: error: extended character   is not valid in an identifier
    4 |   {
      |  ^
split.cpp:5:2: error: extended character   is not valid in an identifier
    5 |   string d; cin >>d; for(long long o=0;o<d.size()/2;o++) { cout <<d[o];}
      |  ^
split.cpp:6:2: error: extended character   is not valid in an identifier
    6 |   cout <<" "; for(long long o=d.size()/2;o<d.size();o++)cout <<d[o];
      |  ^
split.cpp:7:2: error: extended character   is not valid in an identifier
    7 |   return 0;
      |  ^
split.cpp:8:2: error: extended character   is not valid in an identifier
    8 |   }
      |  ^
split.cpp:4:2: error: expected initializer before '\U000000a0'
    4 |   {
      |  ^