Submission #659578

# Submission time Handle Problem Language Result Execution time Memory
659578 2022-11-18T15:23:19 Z beaconmc Fancy Fence (CEOI20_fancyfence) PyPy 3
15 / 100
78 ms 37028 KB
n = int(input())
h = list(map(int, input().split()))
w = list(map(int, input().split()))

sus = sum(w)

print(sus*h[0]*(sus+1)*(h[0]+1)//4 % 1000000007)
# Verdict Execution time Memory Grader output
1 Incorrect 32 ms 18220 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 34 ms 18220 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 33 ms 18200 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 37 ms 18628 KB Output is correct
2 Correct 45 ms 20740 KB Output is correct
3 Correct 54 ms 30144 KB Output is correct
4 Correct 78 ms 37028 KB Output is correct
5 Correct 74 ms 35200 KB Output is correct
6 Correct 46 ms 18120 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 35 ms 18192 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 32 ms 18188 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 32 ms 18220 KB Output isn't correct
2 Halted 0 ms 0 KB -