12665 - Joking with Fermat's Last Theorem

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
brianfry713
Guru
Posts: 5947
Joined: Thu Sep 01, 2011 9:09 am
Location: San Jose, CA, USA

12665 - Joking with Fermat's Last Theorem

Post by brianfry713 » Mon Oct 14, 2013 9:20 pm

These are incorrect:
http://uva.onlinejudge.org/external/126/12665.pdf
http://uva.onlinejudge.org/external/126/p12665.pdf

The line:
However, we can make a joke: find solutions of pow(a, 3) + pow(b, 3) = pow(c, 3)
Should read:
However, we can make a joke: find solutions of pow(a, 3) + pow(b, 3) = c3

These are correct:
http://uva.onlinejudge.org/contests/324 ... 12665.html
http://uva.onlinejudge.org/contests/324 ... /12665.pdf
Check input and AC output for thousands of problems on uDebug!

Post Reply

Return to “Bugs and suggestions”