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 1373. Pictura ex Machina

hint:for who tle#17
Posted by Lan Jun 3 Aug 2007 09:23
use int instead of double
Good Luck
Re: hint:for who tle#17
Posted by ASK 3 Apr 2018 03:19
to clarify: there is no problem to use doubles for computations, but you must input data as ints and convert it to doubles (10x faster), e.g.,

using D = double;
using V = array<D,2>;
V rv(){ int x,y; cin >> x >> y; return V{D(x),D(y)}; }