Problem smurfpaths
User jeongwonho64
Submission Time 2023-03-07 18:55:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

smurfpaths.cpp: In function ‘int32_t main()’:
smurfpaths.cpp:105:13: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘fi’
105 | while(temp.fi >= X){
| ^~
smurfpaths.cpp:106:38: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘fi’
106 | root->update(temp.se,temp.se,-temp.fi-INF);
| ^~
smurfpaths.cpp:116:15: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘fi’
116 | while(temp.fi >= X){
| ^~
smurfpaths.cpp:117:40: error: ‘struct std::pair<long long int, long long int>’ has no member named ‘fi’
117 | root->update(temp.se,temp.se,-temp.fi-INF);
| ^~