Problem | segmenttreebeats |
---|---|
User | PlayVoltz |
Submission Time | 2023-12-20 12:06:10 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttreebeats.cpp: In function ‘int main()’:
segmenttreebeats.cpp:17:44: error: invalid type argument of unary ‘*’ (have ‘int’)
17 | for (int i=0; i<temp.size(); ++i)vect[*i]+=temp[i]-'0';
| ^