Problem expansion
User jerrielchangjiebin
Submission Time 2024-12-30 13:57:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

expansion.cpp: In function ‘int main()’:
expansion.cpp:22:22: error: expected primary-expression before ‘]’ token
22 | cin >> position[i][] //x is position
| ^
expansion.cpp:28:25: error: ‘n’ was not declared in this scope
28 | for (int i = 0; i < n; ++i) {
| ^