371 - Ackermann Functions

All about problems in Volume 3. If there is a thread about your problem, please use it. If not, create one with its number in the subject.

Moderator: Board moderators

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

Re: uva 371 WA

Post by brianfry713 »

Between 2000000000 and 2001000000, 2000001502 generates the longest sequence of 804 values.
Check input and AC output for thousands of problems on uDebug!

uDebug
A great helper
Posts: 475
Joined: Tue Jul 24, 2012 4:23 pm

Re: uva 371 WA

Post by uDebug »

This problem proved to be trickier than I'd anticipated. Here are some input / output cases that helped me test / debug my code.

Code: Select all

Deleted input / output because it was incorrect.
See https://www.udebug.com/UVa/371 instead.
Check input and AC output for over 7,500 problems on uDebug!

Find us on Facebook. Follow us on Twitter.

Post Reply

Return to “Volume 3 (300-399)”