Problem photofinish
User smartsword
Submission Time 2025-12-01 17:25:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

photofinish.cpp:5:1: error: ‘cin’ does not name a type; did you mean ‘sin’?
5 | cin.tie(nullptr);
| ^~~
| sin
photofinish.cpp:6:1: error: specializing member ‘std::basic_ios<char>::sync_with_stdio’ requires ‘template<>’ syntax
6 | ios::sync_with_stdio(false.;)
| ^~~
photofinish.cpp:6:29: error: expected unqualified-id before ‘)’ token
6 | ios::sync_with_stdio(false.;)
| ^
photofinish.cpp:58:4: error: ‘cout’ does not name a type
58 | cout << ans - 1;
| ^~~~
photofinish.cpp:60:4: error: expected unqualified-id before ‘return’
60 | return 0;
| ^~~~~~
photofinish.cpp:62:3: error: expected declaration before ‘}’ token
62 | }
| ^
photofinish.cpp:64:2: error: expected declaration before ‘}’ token
64 | }
| ^
photofinish.cpp:66:2: error: ‘cout’ does not name a type
66 | cout << ans;<