Problem | bigredarrow |
---|---|
User | MegaG |
Submission Time | 2025-09-10 20:04:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bigredarrow.cpp: In function ‘int main()’:
bigredarrow.cpp:22:5: error: request for member ‘push_back’ in ‘a’, which is of non-class type ‘std::deque<long long int> [n]’
22 | a.push_back(input);
| ^~~~~~~~~
bigredarrow.cpp:27:5: error: request for member ‘push_back’ in ‘b’, which is of non-class type ‘std::deque<long long int> [n]’
27 | b.push_back(input2);
| ^~~~~~~~~
bigredarrow.cpp:30:17: error: cannot convert ‘std::deque<long long int>’ to ‘long long int’ in initialization
30 | int chotu = a[0];
| ~~~^
| |
| std::deque<long long int>
bigredarrow.cpp:33:21: error: ‘k’ was not declared in this scope
33 | for(int i = 0; i < k; i++){
| ^
bigredarrow.cpp:34:11: error: no match for ‘operator>’ (operand types are ‘std::deque<long long int>’ and ‘int’)
34 | if(b[i] > 0){