Problem intercastellar
User Biologyhater123
Submission Time 2025-06-10 16:27:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

intercastellar.cpp: In function ‘int32_t main()’:
intercastellar.cpp:23:32: error: ‘i’ was not declared in this scope
23 | pf[1] = (pf[j-1] + arr[i].second);
| ^
intercastellar.cpp:29:9: error: expected ‘,’ or ‘;’ before ‘cout’
29 | cout << arr[lb - pf.begin()]
| ^~~~