Problem | lcm |
---|---|
User | o0oNotGXYo0o |
Submission Time | 2024-08-23 22:24:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lcm.cpp: In function ‘int main()’:
lcm.cpp:10:8: error: request for member ‘reserve’ in ‘stuff’, which is of non-class type ‘std::vector<int>()’
10 | stuff.reserve(num);
| ^~~~~~~
lcm.cpp:17:15: error: request for member ‘push_back’ in ‘stuff’, which is of non-class type ‘std::vector<int>()’
17 | stuff.push_back(c);
| ^~~~~~~~~
lcm.cpp:19:31: error: request for member ‘size’ in ‘stuff’, which is of non-class type ‘std::vector<int>()’
19 | for (int i = 0; i < stuff.size() ; i++){
| ^~~~