Submission #1016608

# Submission time Handle Problem Language Result Execution time Memory
1016608 2024-07-08T09:05:30 Z bozho Wall (IOI14_wall) C++14
Compilation error
0 ms 0 KB
#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

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