Problem primepie
User thisusernameistaken
Submission Time 2024-02-09 21:08:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/cassert:44,
from primepie.cpp:2:
primepie.cpp: In function ‘long long int amountEaten(int32_t)’:
primepie.cpp:49:13: error: request for member ‘size’ in ‘ans’, which is of non-class type ‘long long int’
49 | assert(ans.size()>=n);
| ^~~~