fork download
  1. n=int(input())
  2. k=int(input())
  3. print(n*(n+1)//2*k*(k+1)//2)
Runtime error #stdin #stdout #stderr 0.11s 23528KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 1, in <module>
EOFError: EOF when reading a line