Problem photofinish
User xlpaun
Submission Time 2025-12-01 14:10:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

photofinish.cpp: In function ‘int main()’:
photofinish.cpp:9:2: error: expected initializer before ‘cin’
9 | cin >>n;
| ^~~
photofinish.cpp:11:22: error: ‘n’ was not declared in this scope
11 | for (int i = 0; i < n; i++){
| ^
photofinish.cpp:12:10: error: ‘x’ was not declared in this scope
12 | cin >> x;
| ^
photofinish.cpp:19:11: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
19 | cout << n;
| ^
| yn