Submission #1016608

#TimeUsernameProblemLanguageResultExecution timeMemory
1016608bozhoWall (IOI14_wall)C++14
Compilation error
0 ms0 KiB
#include<"wall.h">
#include<bits/stdc++.h>
#define endl '\n'
using namespace std;

void buildWall(int n, int k, int op[], int l[], int r[], int h[], int fh[])
{
    for(int i=0;i<n;i++)
        fh[i]=0;
    for(int i=0;i<k;i++)
    {
        for(int j=l[i];j<=r[i];j++)
        {
            if(op[i]==1)
                fh[i]=max(fh[i],h[i]);
            else
                fh[i]=min(fh[i],h[i]);
        }
    }
}

Compilation message (stderr)

wall.cpp:1:9: fatal error: "wall.h": No such file or directory
    1 | #include<"wall.h">
      |         ^~~~~~~~~~
compilation terminated.