Problem competition
User Shadowsocks
Submission Time 2023-02-14 16:56:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

competition.cpp: In function ‘int main()’:
competition.cpp:21:29: error: invalid type argument of unary ‘*’ (have ‘int’)
21 | ans += phys[*it.second];
| ^~~~~~
competition.cpp:24:28: error: invalid type argument of unary ‘*’ (have ‘int’)
24 | ans += bio[*it.second];
| ^~~~~~