Problem doubletrip
User PlayVoltz
Submission Time 2024-01-05 15:11:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

doubletrip.cpp: In function ‘int32_t main()’:
doubletrip.cpp:38:74: error: expected ‘;’ before ‘cout’
38 | for (int i=0; i<n; ++i)ans=min(ans, psum[db[i]]+psum[db[i]+da[i]+dc[i]])
| ^
| ;
39 | cout<<ans;
| ~~~~