Neural Network Problem
1431F2100· master5s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
5 5 41 1 5 4 5
Output
0
Sample 2of 4
Input
5 2 46 1 5 5 6
Output
11
Sample 3of 4
Input
6 1 43 3 1 3 1 2
Output
8
Sample 4of 4
Input
6 1 32 2 1 2 2 1
Output
5
58%
1431F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)