class P{public static void Main(){for(int i=9,a,b;i++<1e4;)if((i/1e3<(a=i/100%10)||i<100)&&a<(b=i/10%10)&&b<i%10)System.Console.WriteLine(i);}}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page