Problem stoning
User PlayVoltz
Submission Time 2024-01-21 02:38:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stoning.cpp: In function ‘int32_t main()’:
stoning.cpp:18:11: error: ‘sum’ was not declared in this scope
18 | vect.pb(sum);
| ^~~
stoning.cpp:27:53: error: ‘sum’ was not declared in this scope
27 | auto it = lower_bound(vect.begin(), vect.end(), k-sum);
| ^~~