0_0_25694776_1480.cpp: In function 'int main()':
0_0_25694776_1480.cpp:54:13: error: 'l' was not declared in this scope
if (l>r) q.push(-ans[i]);
^
0_0_25694776_1480.cpp:54:15: error: 'r' was not declared in this scope
if (l>r) q.push(-ans[i]);
^
0_0_25694776_1480.cpp:56:29: error: 'n' was not declared in this scope
for(int i = 1; i <= n; ++i) {
^
0_0_25694776_1480.cpp: At global scope:
0_0_25694776_1480.cpp:63:5: error: expected unqualified-id before 'return'
return 0;
^
0_0_25694776_1480.cpp:64:1: error: expected declaration before '}' token
}
^
|