답안 #659576

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
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)
# 결과 실행 시간 메모리 Grader output
1 Runtime error 58 ms 20272 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 69 ms 20296 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 68 ms 20284 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 72 ms 19940 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 62 ms 20280 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 63 ms 20244 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 58 ms 20272 KB Execution failed because the return code was nonzero
2 Halted 0 ms 0 KB -