waltermilner

Untitled

Sep 9th, 2018
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None | 0 0
  1. public class Test {
  2.   public static void main(String[] args) {
  3.  
  4.     for (int x=1; x<1000;x++)
  5.       for (int y=1; y<1000; y++)
  6.         for (int z=1; z<1000; z++)
  7.           if (11*x-29*y-53*z==0)
  8.             System.out.println(x+" "+y+" "+z);
  9.   }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment