Problem | modsum |
---|---|
User | 123456789 |
Submission Time | 2023-11-22 16:44:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
modsum.cpp: In function ‘int main()’:
modsum.cpp:16:44: error: invalid type argument of unary ‘*’ (have ‘int’)
16 | for (auto& x : n_sums[n]) sum += (x ** 4 + (x ** 2) * 2) % 5 + 1;
| ^
modsum.cpp:16:54: error: invalid type argument of unary ‘*’ (have ‘int’)
16 | for (auto& x : n_sums[n]) sum += (x ** 4 + (x ** 2) * 2) % 5 + 1;
| ^