stdin.get_s(1K).split(" "){a,b:it.split(" ").map(|v|v.to_i).to_a;(a<b?50:b*(b+1)*(3*a-b+1)/6).p;}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page