Index: lib/geo/pythagoras.cpp ================================================================== --- lib/geo/pythagoras.cpp +++ lib/geo/pythagoras.cpp @@ -1,8 +1,15 @@ + +//------------------------------------------------------------- // Enumerate coprime pythagoras triangles +// +// Verified by +// - SRM 599 Div1 LV2 +//------------------------------------------------------------- + for(int m=1;; ++m) for(int n=1; nb) swap(a,b); }