Search found 1 match

by Alexey Talambutsa
Tue Nov 12, 2002 2:52 pm
Forum: Volume 104 (10400-10499)
Topic: 10404 - Bachet's Game
Replies: 10
Views: 5860

10404 - Bachet's Game

These two programs in Pascal and C solve task 10404 absolutely identically, but first (Pascal) get WA, and second (C) get Accepted.

Does anybody know, why it could be so?

[/pascal]
const
MN=2000000;

type
integer = longint;

var
N,K,i : integer;
W : array [1..20] of integer;
Winner : array [0 ...

Go to advanced search