제출 #423126

#제출 시각아이디문제언어결과실행 시간메모리
423126daanolav벽 (IOI14_wall)C++14
0 / 100
157 ms8808 KiB
#include "wall.h" using namespace std; int colNum, phaseNum,res; void buildWall(int n, int k, int op[], int left[], int right[], int height[], int finalHeight[]){ for(phaseNum = 0; phaseNum < k; ++phaseNum) { for(colNum = left[phaseNum]; colNum <= right[phaseNum]; ++colNum) { if((op[phaseNum] == 1) != (height[phaseNum] < res)) { finalHeight[colNum] = height[phaseNum]; } } } return; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...