Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
He made the same solution as I did. The idea is pretty much what you said;
For each possible side length a, get each possible side length b >= a, and then calculate u=c^2.
Finally just check that c is an integer (or rather calculate c, followed by checking that c^2 = u), and that it has an acceptable perimeter.
And then count how many solutions there are. (I guess you did three loops, a, b, c? Or trying to find all for a given perimeter?)