Search found 3 matches

by halyavin
Thu Nov 13, 2003 4:12 pm
Forum: Volume 1 (100-199)
Topic: 173 - Network Wars
Replies: 29
Views: 2483

173 - Network Wars. Can't understand problem.

Give me right output:
Input
A:B;B:D;D:C;C:A. A D
#
Give others examples, please. I have WA for all variants of output for this input.
by halyavin
Thu Nov 13, 2003 3:55 pm
Forum: Volume 1 (100-199)
Topic: 119 - Greedy Gift Givers
Replies: 145
Views: 24222

>IF (group[posperson].inimoney <> 0) THEN
>giftmoney := group[posperson].inimoney DIV group[posperson].nfriends;
What about division by zero?
Input:
2
one two
one 100 0
two 10 1 one

Output:
one 10
two -10
by halyavin
Fri Nov 07, 2003 1:34 pm
Forum: Volume 1 (100-199)
Topic: 189 - Pascal Program Lengths
Replies: 12
Views: 2277

Don't forget about this test:
begin
writeln('~~~~~~');
{~~~~~~~~~~~~~}
end.
~~anonimus

Go to advanced search