Search found 5 matches

by feodorv
Sun Apr 16, 2017 9:48 pm
Forum: Volume 5 (500-599)
Topic: 500 - Table
Replies: 1374
Views: 32095

Re: 500 - Table

As far as i can see the input line

Code: Select all

| |||
gives invalid output line. The line

Code: Select all

| || |
is ok.

Moreover if the line

Code: Select all

| |||
is last in the table (among all lines beginning with separator) then the column number is invalid...
by feodorv
Sun Apr 16, 2017 1:24 am
Forum: Volume 5 (500-599)
Topic: 500 - Table
Replies: 1374
Views: 32095

Re: 500 - Table

An uuencoded input and output begin 600 si M,@T*#0K:Q,3$Q,3$Q,+$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$PL3$Q,3$Q,3$ MQ,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$OPT*LR!.86UE("`@("`@ M("`@LR!/<F=A;FEZ871I;VX@("`@LR!*3T(@("`@(""S#0K#Q,3$Q,3$Q,7$ MQ,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q<3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$Q,3$ MQ,3$Q,3$...
by feodorv
Mon Feb 27, 2017 2:13 pm
Forum: Volume 108 (10800-10899)
Topic: 10881 - Piotr's Ants
Replies: 12
Views: 6957

Re: 10881 - Piotr's Ants

messiNayan wrote:I think my algorithm is faster than trivial solution but still getting time limit exit
Sorry, your algorithm is not fast enough. In truth it is very slow. Please, try my input on uDebug...
by feodorv
Fri Jan 06, 2017 9:16 pm
Forum: Volume 104 (10400-10499)
Topic: 10402 - Triangle Covering
Replies: 37
Views: 5752

Re: ATTN : PROBLEMSETTER 10402 (TRIANGLE COVERING)

So the prob is for t3 and t6..where he stated that t3 = 2.108+ and t6 = 3.168+..which do not hav analytic solutions. (He didnt wrote the equation either...:(..). For t3 there is analytic solution: double q3 = sqrt( 3 ); double t = (2 + q3 - sqrt( 4 * q3 + 1 )) / 3; double a = q3 * sqrt( 1 + (1 - t)...
by feodorv
Sun Nov 20, 2016 8:32 am
Forum: Volume 10 (1000-1099)
Topic: 1061 - Consanguine Calculations
Replies: 10
Views: 3992

Re: 1061 - Consanguine Calculations

ebb wrote:

Code: Select all

!line.equals("E N D")
Maybe the data file ends with

Code: Select all

E   N     D   
or something like that. You could check only first letter 'E'.

PS I have added new input on uDebug which covers all possible cases.

Go to advanced search