Search found 18 matches

by Kamp
Fri Nov 22, 2002 12:30 pm
Forum: Volume 103 (10300-10399)
Topic: 10362 - Trains
Replies: 2
Views: 2289

10362 - Trains

I have got question about the output. What will be the answer for this input:
1
4
3 08.00 AAA 01.00 BBB 00.30 CCC
2 07.00 AAA 01.00 BBB
2 08.00 BBB 01.00 CCC
3 10.00 DDD 00.01 AAA 00.01 CCC
AAA CCC
Thx in advance :)
by Kamp
Mon Jul 01, 2002 6:22 pm
Forum: Volume 3 (300-399)
Topic: 337 - Interpreting Control Sequences
Replies: 20
Views: 6151

I sent your program to judge, and I got "Compile Error" :cry:

Check once again your code :)

Good Luck :P
by Kamp
Fri Jun 28, 2002 12:37 am
Forum: Volume 5 (500-599)
Topic: 573 - The Snail
Replies: 45
Views: 25665

Pls specify the number of this problem :)

Good Luck :D
by Kamp
Thu Jun 27, 2002 1:46 pm
Forum: Volume 102 (10200-10299)
Topic: 10261 - Ferry Loading
Replies: 41
Views: 25070

Waw :D

Nice time :lol:

Congratulation :wink:
by Kamp
Thu Jun 27, 2002 12:10 pm
Forum: Volume 1 (100-199)
Topic: 106 - Fermat vs. Pythagoras
Replies: 138
Views: 26084

You should check your program once again :)

For to sample input it gives strange (wrong) output ! :oops:

Good Luck :D
by Kamp
Wed Jun 26, 2002 8:38 pm
Forum: Volume 102 (10200-10299)
Topic: 10261 - Ferry Loading
Replies: 41
Views: 25070

I've tested your program on several inputs, and for data:
1

6
200
200
400
400
your program gives:
3
port
starboard
port
If I correctly understand the problem, the output should be different :(
by Kamp
Wed Jun 26, 2002 8:00 pm
Forum: Volume 102 (10200-10299)
Topic: 10261 - Ferry Loading
Replies: 41
Views: 25070

Yes, you're right :oops:

My mistake...I read the old version of the problem description :(

Sorry :)
by Kamp
Wed Jun 26, 2002 6:01 pm
Forum: Volume 102 (10200-10299)
Topic: 10261 - Ferry Loading
Replies: 41
Views: 25070

It's not a multiple input !!! :(

Just delete the first 3 lines after 'begin' and one 'end' at should be working :D

Also you should use 'readln' instead of 'read' :)

Good Luck !! :P
by Kamp
Mon Jun 24, 2002 11:51 am
Forum: Volume 100 (10000-10099)
Topic: 10074 - Take the Land
Replies: 21
Views: 6694

Thx very much :D

Stupid mistake :roll:
by Kamp
Fri Jun 21, 2002 5:50 pm
Forum: Volume 6 (600-699)
Topic: 624 - CD
Replies: 77
Views: 43173

Thanks Cyfra, but pls notice that in the problem description there is said that:
tracks do not repeat
:cry:
by Kamp
Fri Apr 05, 2002 4:49 pm
Forum: Volume 101 (10100-10199)
Topic: 10178 - Count the Faces.
Replies: 12
Views: 5886

I have some troubles with that problem...
What will be the answer of this input:

5 9
A B
B C
C A
A A
B D
C E
D E
B D
C E

:smile:
by Kamp
Fri Apr 05, 2002 4:44 pm
Forum: Volume 4 (400-499)
Topic: 484 - The Department of Redundancy Department
Replies: 103
Views: 18238

I've made something like this: var liczba:array[-100000..100000] of integer; q1,q2,q3,i,x:longint; tab:array[0..1000000] of longint; begin repeat read(x); if liczba[x]=0 then begin tab[0]:=tab[0]+1; tab[tab[0]]:=x; end; liczba[x]:=liczba[x]+1; until eoln; for i:=1 to tab[0] do begin writeln(tab ,' '...
by Kamp
Thu Apr 04, 2002 2:00 pm
Forum: Volume 4 (400-499)
Topic: 484 - The Department of Redundancy Department
Replies: 103
Views: 18238

Isn't something wrong with this input ???
3 1 2 2 1 3 5 3 3 2

3 4
1 2
2 3
5 1

I thing anwser should be:

3 4
1 2
2 2
5 1
by Kamp
Thu Mar 28, 2002 7:48 pm
Forum: Volume 7 (700-799)
Topic: 782 - Contour Painting
Replies: 53
Views: 28513

782 - Contour Painting

I've question... what will be the answer to this case ?
_________
XXXXXX
* X X
XXXXXX
_________
by Kamp
Thu Mar 28, 2002 5:24 pm
Forum: Volume 100 (10000-10099)
Topic: 10017 - The Never Ending Towers of Hanoi
Replies: 19
Views: 7244

Is it possible that the number of last move is bigger then 2^n -1 ??? Because I have all the time WA :sad:

Go to advanced search