cf/mirror

Two Arrays and Sum of Functions

CF
1165E1600· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
5
1 8 7 2 4
9 7 2 9 3
Output
646
Sample 2of 3
Input
1
1000000
1000000
Output
757402647
Sample 3of 3
Input
2
1 3
4 2
Output
20
1165E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)