Search found 69 matches

by anacharsis
Fri Oct 30, 2015 1:43 am
Forum: Volume 17 (1700-1799)
Topic: 1709 - Amalgamated Artichokes
Replies: 3
Views: 2423

Re: 1709 - Amalgamated Artichokes

Simple sanity check I/O In: 3 1 1 1 1 1 3 1 1 1 1 2 3 1 1 1 1 3 3 1 1 1 1 4 3 1 1 1 1 5 3 1 1 1 1 6 3 1 1 1 1 7 3 1 1 1 1 8 3 1 1 1 1 9 3 1 1 1 1 10 3 1 1 1 1 11 3 1 1 1 1 12 3 1 1 1 1 13 3 1 1 1 1 14 3 1 1 1 1 15 3 1 1 1 1 16 AC out: 0.000000 4.026069 5.710790 5.710790 5.710790 5.710790 5.710790 5....
by anacharsis
Mon Sep 21, 2015 6:10 am
Forum: Volume 109 (10900-10999)
Topic: 10961 - Chasing After Don Giovanni
Replies: 9
Views: 6538

Re: 10961 - Chasing After Don Giovanni

What is the output for this one?

Code: Select all

1

7 9
9 7
1
5 7
1
7 3
I get "No"; but uDebug is coming up with "Yes"
It seems to me that they have to meet at ( 7, 7 ) at time 2
by anacharsis
Sun Sep 20, 2015 6:26 pm
Forum: Volume 124 (12400-12499)
Topic: 12482 - Short Story Competition
Replies: 0
Views: 2951

Re: 12482 - Short Story Competition

Some I/O In: 335 7 61 the man over the a slam jumped moo slam slam moo quick fox clan sleeping fry dog dog too brian cat slam fry xenophobe slam jumped fry moo a a moo too quick brian fry bug brown moo fox sleeping xenophobe cat cat dog be be the cat over fox be bug quick man clan bug sleeping moo b...
by anacharsis
Sun Sep 06, 2015 11:23 pm
Forum: Volume 119 (11900-11999)
Topic: 11952 - Arithmetic
Replies: 11
Views: 4312

Re: 11952 - Arithmetic

Some I/O In: 212 111 + 11111 = 11111111 666 + 141 = 807 295 + 147 = 442 260 + 168 = 408 571 + 373 = 904 495 + 90 = 545 87 + 874 = 961 699 + 270 = 969 138 + 449 = 57 273 + 469 = 720 762 + 81 = 833 452 + 248 = 700 22 + 857 = 880 177 + 280 = 407 38 + 325 = 360 573 + 404 = 977 9 + 18 = 1 8 + 10 = 18 9 +...
by anacharsis
Thu Sep 03, 2015 3:24 pm
Forum: Volume 125 (12500-12599)
Topic: 12502 - Three Families
Replies: 23
Views: 9938

Re: 12502 - Three Families

In: 100 7 10 898 4 5 484 6 6 507 9 3 871 9 3 705 3 4 30 7 2 201 6 1 109 3 3 898 9 7 398 5 4 287 1 7 544 3 7 245 5 10 951 3 8 521 2 7 109 4 6 530 5 6 587 7 10 972 9 4 347 6 6 108 7 1 546 10 4 720 5 5 784 8 3 397 3 4 768 2 9 297 2 3 987 3 2 349 4 2 461 8 9 171 2 5 273 3 6 119 10 10 919 9 5 160 8 9 825...
by anacharsis
Tue Sep 01, 2015 5:23 pm
Forum: Volume 121 (12100-12199)
Topic: 12148 - Electricity
Replies: 7
Views: 9831

Re: 12148 - Electricity

Possibly helpful IO

In:

Code: Select all

4
28 2 2000 600
29 2 2000 700
1 3 2000 800
2 3 2000 900
0
AC out:

Code: Select all

3 300
by anacharsis
Sat Aug 29, 2015 6:38 am
Forum: Volume 9 (900-999)
Topic: 945 - Loading a Cargo Ship
Replies: 0
Views: 1647

Re: 945 - Loading a Cargo Ship

Some I/O In: 4 673 936 444 181 432 9 2 4 8 2 4 4 7 1 4 1 3 5 8 7 3 1 5 5 3 4 1 5 7 6 8 6 9 8 7 3 2 7 5 6 9 6 8 1 5 6 9 8 9 4 1 8 5 4 4 5 4 2 7 7 2 8 2 2 2 4 9 3 4 7 4 1 1 9 7 1 7 6 4 3 6 9 6 7 4 9 6 4 3 4 6 4 4 8 4 5 4 8 1 6 7 8 3 8 6 4 3 7 5 4 1 2 3 7 1 8 8 6 8 5 7 4 2 9 2 7 7 7 7 7 3 6 3 8 5 6 8 4...
by anacharsis
Sat Aug 22, 2015 3:57 am
Forum: Volume 112 (11200-11299)
Topic: 11269 - Setting Problems
Replies: 26
Views: 10870

Re: 11269 - Setting Problems

Some IO In: 20 283 341 34 47 398 313 402 482 262 304 208 138 372 459 149 25 250 28 43 453 154 397 70 59 309 14 234 162 200 278 411 346 382 373 285 185 304 136 290 272 20 450 218 5 259 404 227 404 262 173 205 330 343 419 310 175 121 200 109 249 240 154 165 6 308 127 187 236 349 379 292 285 52 46 426 ...
by anacharsis
Fri Aug 21, 2015 6:40 am
Forum: Volume 15 (1500-1599)
Topic: 1592 - Database
Replies: 0
Views: 1061

Re: 1592 - Database

Some simple IO
In:

Code: Select all

6 2
x,t
y,m
z,z
x,b
z,t
x,t
AC out:

Code: Select all

NO
1 6
1 2
by anacharsis
Thu Aug 20, 2015 3:31 pm
Forum: Volume 121 (12100-12199)
Topic: 12150 - Pole Position
Replies: 6
Views: 2169

Re: 12150 - Pole Position

Actually, never mind; I misunderstood the problem.
I thought that the car and position g/l information had been garbled.
It's not - the input is the current pole.
You just have to reconstruct the starting grid, which is a much easier problem than I tried to solve... :)
by anacharsis
Tue Aug 18, 2015 6:06 am
Forum: Volume 121 (12100-12199)
Topic: 12150 - Pole Position
Replies: 6
Views: 2169

Re: 12150 - Pole Position

I don't understand the second test case in the problem statement.

4
22 1
9 1
13 0
21 -2

The answer is given as -1 in the sample output.
But, isn't the following a valid starting grid for this case:
21 9 22 13

Any help appreciated!
by anacharsis
Fri Aug 14, 2015 3:25 am
Forum: Volume 117 (11700-11799)
Topic: 11717 - Energy Saving Microcontroller
Replies: 1
Views: 1433

Re: 11717 - Energy Saving Microcontroller

Bigger I/O In: 10 128 19 11 26 26 47 52 67 71 75 91 119 130 149 163 166 188 214 235 256 257 258 282 290 296 321 333 342 363 369 381 407 434 457 465 470 496 496 510 529 548 560 561 571 591 611 615 619 620 628 643 657 686 714 731 734 753 768 782 784 790 802 805 821 842 849 872 878 879 890 905 918 938 ...
by anacharsis
Fri Aug 14, 2015 3:22 am
Forum: Volume 117 (11700-11799)
Topic: 11717 - Energy Saving Microcontroller
Replies: 1
Views: 1433

Re: 11717 - Energy Saving Microcontroller

Some I/O

In:

Code: Select all

5
5 3 3
6
8
9
11
17
3 20 1
10
100
101
5 5 3
7
8
9
10
25
5 2 10
2
3
4
5
6
14 29 16
15
40
46
84
87
89
96
128
167
177
188
192
224
236
Out:

Code: Select all

Case 1: 2 1
Case 2: 1 0
Case 3: 2 2
Case 4: 1 4
Case 5: 3 5
by anacharsis
Mon Aug 03, 2015 6:50 am
Forum: Volume 5 (500-599)
Topic: 570 - Stats
Replies: 2
Views: 3345

Re: 570 - Stats

Some I/O: IN C 9 50 33 43 22 20 54 21 02 05 K 02 B 22 H 05 B 22 K 50 K 50 B 54 H 21 H 20 E 33 H 22 D 33 E 33 B 05 B 22 B 33 H 02 H 21 E 22 H 22 B 54 E 54 K 43 H 50 D 21 H 02 K 43 H 05 B 33 E 20 E 54 K 54 D 22 E 33 E 05 B 22 D 50 H 05 E 22 H 02 K 33 B 05 D 05 K 43 H 20 K 22 E 50 B 50 D 02 H 54 B 05 K...
by anacharsis
Sun Jul 19, 2015 8:00 pm
Forum: Volume 4 (400-499)
Topic: 448 - OOPS!
Replies: 18
Views: 4063

Re: 448 - OOPS!

A bigger case In: 5451BFFE799500A7EE9A373F801E33 995C6BE8FB36C1851E0287E0374019 5FE0F20256AD1DB9FAC6021FE44830 23CFA887011F6DBD4C97D1A0029960 8950F8911A0C679B67CCB9BE00C000 989890BBE32697384CEB3A63616B94 5CDEDF6E9D04FF17913401CFD963BE 81A40167BCE17826E2E3BDAD0524B2 176EB591B3980718A4E0DFDC0DBC37 AE3...

Go to advanced search