Problem photofinish
User smartsword
Submission Time 2025-12-01 17:26:17
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:61:4: error: ‘cout’ does not name a type
61 | cout << ans - 1;
| ^~~~
photofinish.cpp:63:4: error: expected unqualified-id before ‘return’
63 | return 0;
| ^~~~~~
photofinish.cpp:65:3: error: expected declaration before ‘}’ token
65 | }
| ^
photofinish.cpp:67:2: error: expected declaration before ‘}’ token
67 | }
| ^
photofinish.cpp:69:2: error: ‘cout’ does not name a type
69 | cout << ans;<