Problem promotion
User bachnguyen123
Submission Time 2025-11-27 14:08:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

promotion.cpp: In function ‘int main()’:
promotion.cpp:10:2: error: ‘BIT’ was not declared in this scope
10 | BIT bit1 (n);
| ^~~
promotion.cpp:17:12: error: ‘z’ was not declared in this scope
17 | cin>>adj[z];
| ^
promotion.cpp:30:14: error: invalid operands of types ‘int’ and ‘const char [2]’ to binary ‘operator<<’
30 | cout<ans[i]<<" ";
| ~~~~~~^~~~~
| | |
| | const char [2]
| int