Submission #562745

#TimeUsernameProblemLanguageResultExecution timeMemory
562745Halym2007Arranging Shoes (IOI19_shoes)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h>#define ff first#define ss second#define cont continue;#define sz size()#define pb push_backusing namespace std;typedef long long ll;const int N = 100005;ll count_swaps(vector <int> s) {if (s[0] < 0 and s[1] > 0) {  return 0;  }  else return 1;;}

Compilation message (stderr)

shoes.cpp:1:25: warning: extra tokens at end of #include directive
    1 | #include <bits/stdc++.h>#define ff first#define ss second#define cont continue;#define sz size()#define pb push_backusing namespace std;typedef long long ll;const int N = 100005;ll count_swaps(vector <int> s) {if (s[0] < 0 and s[1] > 0) {  return 0;  }  else return 1;;}
      |                         ^
shoes.cpp:1:239: error: extended character   is not valid in an identifier
    1 | #include <bits/stdc++.h>#define ff first#define ss second#define cont continue;#define sz size()#define pb push_backusing namespace std;typedef long long ll;const int N = 100005;ll count_swaps(vector <int> s) {if (s[0] < 0 and s[1] > 0) {  return 0;  }  else return 1;;}
      |                                                                                                                                                                                                                                               ^
shoes.cpp:1:251: error: extended character   is not valid in an identifier
    1 | #include <bits/stdc++.h>#define ff first#define ss second#define cont continue;#define sz size()#define pb push_backusing namespace std;typedef long long ll;const int N = 100005;ll count_swaps(vector <int> s) {if (s[0] < 0 and s[1] > 0) {  return 0;  }  else return 1;;}
      |                                                                                                                                                                                                                                                          ^
shoes.cpp:1:255: error: extended character   is not valid in an identifier
    1 | #include <bits/stdc++.h>#define ff first#define ss second#define cont continue;#define sz size()#define pb push_backusing namespace std;typedef long long ll;const int N = 100005;ll count_swaps(vector <int> s) {if (s[0] < 0 and s[1] > 0) {  return 0;  }  else return 1;;}
      |                                                                                                                                                                                                                                                             ^