Problem stamps2
User YSH2020
Submission Time 2025-12-06 19:36:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

stamps2.cpp: In function ‘int main()’:
stamps2.cpp:5:52: error: expected ‘;’ before ‘long’
5 | ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0)
| ^
| ;
stamps2.cpp:6:19: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n, x; cin >> n >> x;
| ^
| yn
stamps2.cpp:6:24: error: ‘x’ was not declared in this scope
6 | int n, x; cin >> n >> x;
| ^
stamps2.cpp:7:51: error: ‘a’ was not declared in this scope
7 | int a[2*n]; for (int i = 0; i < 2*n; i++) cin >> a[i];
| ^
stamps2.cpp:8:51: error: ‘c’ was not declared in this scope
8 | int c[2*n]; for (int i = 0; i < 2*n; i++) cin >> c[i];
|