SQR by teebee

import java.util.*;enum S{S;System z;int x;{for(Scanner s=new Scanner(z.in);s==s;)z.out.println((3*s.nextInt()-(x=s.nextInt())+1)*x*-~x/6+(x==6?1:0));}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page