Problem eight
User anheliba
Submission Time 2025-06-16 16:40:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eight.cpp:3:5: error: specializing member ‘std::basic_ios<char>::sync_with_stdio’ requires ‘template<>’ syntax
3 | ios::sync_with_stdio(false); // Fast I/O
| ^~~
eight.cpp:4:5: error: ‘cin’ does not name a type; did you mean ‘sin’?
4 | cin.tie(nullptr);
| ^~~
| sin
eight.cpp:7:5: error: ‘cin’ does not name a type; did you mean ‘sin’?
7 | cin >> N;
| ^~~
| sin
eight.cpp:10:5: error: expected unqualified-id before ‘for’
10 | for (int i = 0; i < N; ++i) {
| ^~~
eight.cpp:10:21: error: ‘i’ does not name a type
10 | for (int i = 0; i < N; ++i) {
| ^
eight.cpp:10:28: error: expected unqualified-id before ‘++’ token
10 | for (int i = 0; i < N; ++i) {
| ^~
eight.cpp:17:5: error: ‘cout’ does not name a type; did you mean ‘count’?
17 | cou