Submission #659576

# Submission time Handle Problem Language Result Execution time Memory
659576 2022-11-18T15:22:59 Z beaconmc Fancy Fence (CEOI20_fancyfence) PyPy 3
0 / 100
72 ms 20296 KB
n = int(input())
h = list(map(int, input().split()))
w = list(map(int, input().split()))

sus = sum(w)

print(sus*h*(sus+1)*(h+1)//4)
# Verdict Execution time Memory Grader output
1 Runtime error 58 ms 20272 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 69 ms 20296 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 68 ms 20284 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 72 ms 19940 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 62 ms 20280 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 63 ms 20244 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Runtime error 58 ms 20272 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -