Problem wrongreverse
User niicoletong
Submission Time 2025-06-20 15:58:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

wrongreverse.cpp: In function ‘int main()’:
wrongreverse.cpp:17:6: error: no match for call to ‘(std::vector<int>) (int&)’
17 | a(n) = b(n) + i - 1;
| ^
wrongreverse.cpp:17:13: error: no match for call to ‘(std::vector<int>) (int&)’
17 | a(n) = b(n) + i - 1;
| ^
wrongreverse.cpp:26:6: error: no match for call to ‘(std::vector<int>) (int&)’
26 | b(n) = a(n + i - 1);
| ^
wrongreverse.cpp:26:21: error: no match for call to ‘(std::vector<int>) (int)’
26 | b(n) = a(n + i - 1);
| ^
wrongreverse.cpp:29:10: error: no match for call to ‘(std::vector<long long int>) (int&)’
29 | if (db(n) == b(n)) {
| ^
wrongreverse.cpp:29:18: error: no match for call to ‘(std::vector<int>) (int&)’
29 | if (db(n) == b(n)) {
| ^
wrongreverse.cpp:30:14: error: no match for call to ‘(std::vecto