Search found 1 match

by BD_Star
Fri Oct 17, 2014 4:55 am
Forum: Volume 1 (100-199)
Topic: 105 - The Skyline Problem
Replies: 160
Views: 51828

Re: 105 - The Skyline Problem

Why my code gone failed with verdict Wrong answer. My Source code is following:-

/* Problem: 105 - "The Skyline Problem" */

#include <iostream>
using namespace std;

int main(){
int data[10002];
int l,h,r;
int start=1,end=0;

for(int i = 0; i < 10002; i++) data[i] = 0;

while(cin >> l >> h ...

Go to advanced search