fork download
  1. n = int(input())
  2. m = int(input())
  3. print(n * (n + 1) // 2 * m * (m + 1) // 2)
  4.  
Runtime error #stdin #stdout #stderr 0.01s 7300KB
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