Problem foreveralone
User dieunq1309
Submission Time 2023-09-06 18:23:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foreveralone.cpp: In function ‘int main()’:
foreveralone.cpp:16:9: error: no match for call to ‘(std::pair<int, int>) (int&)’
16 | ref(a) = 1;
| ^
foreveralone.cpp:17:9: error: no match for call to ‘(std::pair<int, int>) (int&)’
17 | ref(b) = 1;
| ^
foreveralone.cpp:25:12: error: no match for call to ‘(std::pair<int, int>) (int&)’
25 | if (ref(i) == 0) count++;
| ^