Problem | chinese |
---|---|
User | ashgreninja1006 |
Submission Time | 2025-06-21 19:49:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
chinese.cpp: In function ‘int main()’:
chinese.cpp:6:18: error: expected unqualified-id before ‘long’
6 | long long n, long long x, output = 0;
| ^~~~
chinese.cpp:15:12: error: ‘x’ was not declared in this scope
15 | cin >> x;
| ^
chinese.cpp:19:7: error: ‘output’ was not declared in this scope
19 | output+=v1[i]+v2[n-1-i]-x;
| ^~~~~~
chinese.cpp:21:13: error: ‘output’ was not declared in this scope
21 | cout << output*100;
| ^~~~~~