[10128 - Queue] test case is not correct

The forum to report every bug you find or tell us what you'd like to find in UVa OJ

Moderator: Board moderators

Post Reply
New poster
Posts: 5
Joined: Wed Apr 02, 2008 3:42 pm

[10128 - Queue] test case is not correct

Post by tkcn »

I try to solve this problem, but always got WA.

In this problem, if n=1, then l and r should be 1.
But I write a program to test this condition, and I got an unanticipated result.

Following is my test program:

Code: Select all

int _t = in.nextInt();
for (int _l = 0; _l < _t; _l++) {
	int n = in.nextInt();
	int l = in.nextInt();
	int r = in.nextInt();
		throw new RuntimeException();

Post Reply

Return to “Bugs and suggestions”