Problem | radioactive |
---|---|
User | TheRaptor |
Submission Time | 2023-02-04 18:48:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
radioactive.cpp: In function ‘int main()’:
radioactive.cpp:92:6: error: request for member ‘push’ in ‘dp’, which is of non-class type ‘int [505]’
92 | dp.push(1);
| ^~~~
radioactive.cpp:94:7: error: request for member ‘push’ in ‘dp’, which is of non-class type ‘int [505]’
94 | dp.push(sum);
| ^~~~
radioactive.cpp:97:15: error: request for member ‘size’ in ‘dp’, which is of non-class type ‘int [505]’
97 | if((int)dp.size()>c+1){
| ^~~~
radioactive.cpp:98:13: error: request for member ‘front’ in ‘dp’, which is of non-class type ‘int [505]’
98 | sum-=dp.front();
| ^~~~~
radioactive.cpp:101:8: error: request for member ‘pop’ in ‘dp’, which is of non-class type ‘int [505]’
101 | dp.pop();
| ^~~