Submission #138351

#TimeUTC-0UsernameProblemLanguageResultExecution timeMemory
1383512019-07-29 19:42:46MoNsTeR_CuBeTeams (IOI15_teams)C++17
Compilation error
0 ms0 KiB
#include "seats.h"
#include <bits/stdc++.h>
using namespace std;
struct node{
node *l, *r;
pair<int, int> mini;
pair<int, int> maxi;
void update(){
mini.first = min(l->mini.first, r->mini.first);
mini.second = min(l->mini.second, r->mini.second);
maxi.first = max(l->maxi.first, r->maxi.first);
maxi.second = max(l->maxi.second, r->maxi.second);
}
};
vector< pair<int, int> > v;
void Build(node* root, int left, int right){
if(left == right){
root->maxi.second = root->mini.second = v[left-1].second;
root->maxi.first = root->mini.first = v[left-1].first;
return;
}
int mid = (left+right)/2;
if(!root->l) root->l = new node{NULL,NULL,{0,0},{0,0}};
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Compilation message (stderr)

teams.cpp:1:10: fatal error: seats.h: No such file or directory
 #include "seats.h"
          ^~~~~~~~~
compilation terminated.