Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Game Show's function interfaces

1 view
Skip to first unread message

fushar

unread,
Jul 2, 2010, 6:24:57 AM7/2/10
to
In Game Show practice task, contestants are required to implement
these interfaces:

int jackstart(int n, int k);
int jillstart(int n, int k);

But their return values are ignored in the grader's implementation. I
think they should be declared `void' instead of `int', to remove
confusion.

gvc

unread,
Jul 2, 2010, 9:22:40 AM7/2/10
to

I agree. The Pascal version uses "procedure" and the C/C++ versions
should have used "void"

We'll pay careful attention to this for the IOI tasks. (Some of us
learned
C when there was no such thing as void, and its hard to teach old dogs
new tricks.)

0 new messages