10248 - The Integer All-time Champs

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

Moderator: Board moderators

Post Reply
brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

10248 - The Integer All-time Champs

Post by brianfry713 » Thu Apr 19, 2012 3:45 am

I think the input data doesn't match the description. Each line is supposed to contain two natural numbers m and n (0<m<=n<100). This code returns RE:

Code: Select all

#include <stdio.h>

int main(void) {
  int m, n;
  while(scanf("%d%d", &m, &n)==2)
    if(m<=0||m>n||n>=100) return 1;
  return 0;
}
Check input and AC output for thousands of problems on uDebug!

brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 10248 - The Integer All-time Champs

Post by brianfry713 » Thu Mar 28, 2013 1:09 am

I made a few more submissions, and I believe there is a case where m<0 and a case where m>n. There is not a case where n>=100.
Check input and AC output for thousands of problems on uDebug!

brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

Re: 10248 - The Integer All-time Champs

Post by brianfry713 » Tue Apr 08, 2014 8:53 pm

The judge's I/O has been fixed.
Check input and AC output for thousands of problems on uDebug!

Post Reply

Return to “Bugs and suggestions”