ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1207. Median on the Plane

What's wrong with my program? Please help
Posted by Alyosha Popovich 18 Mar 2002 15:41
// heapsort the points (graham-like)

[code deleted]

Edited by moderator 24.11.2019 23:26
Re: What's wrong with my program? Please help
Posted by WAZZAP 19 Mar 2002 14:14
>    scanf("%d", &N);

possibly should be scanf("%ld",&N)
Re: What's wrong with my program? Please help
Posted by Alyosha Popovich 19 Mar 2002 20:35
int is by default long in 32-bit environment
problem is solved anyway (it was the V[i] = ++i statement in the
read_data for)
thanx anyway