| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1207174 | candi_ositos | 벽 (IOI14_wall) | C++20 | 3095 ms | 8520 KiB |
#include <bits/stdc++.h>
#include "wall.h"
using namespace std;
void buildWall(int n, int k, int op[], int left[],
int right[], int height[], int finalHeight[])
{
for(int i=0; i<k; ++i)
{
op[i]*=-2;
op[i]+=3;
}
for(int i=0; i<k; ++i)
{
for(int j=left[i]; j<=right[i]; ++j)
{
if(op[i]*finalHeight[j]<op[i]*height[i])
{
finalHeight[j]=height[i];
}
}
}
return;
}| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
