Problem 3nplus1
User ShaquilleOatmeal34
Submission Time 2025-03-03 16:55:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp: In function ‘int main()’:
3nplus1.cpp:6:14: error: ‘sync_with_studio’ is not a member of ‘std::ios_base’
6 | ios_base::sync_with_studio(false);
| ^~~~~~~~~~~~~~~~
3nplus1.cpp:12:15: error: a function-definition is not allowed here before ‘{’ token
12 | signed main() {
| ^
3nplus1.cpp: At global scope:
3nplus1.cpp:20:1: error: expected declaration before ‘}’ token
20 | }
| ^
3nplus1.cpp:22:1: error: expected declaration before ‘}’ token
22 | }
| ^
3nplus1.cpp:23:1: error: expected declaration before ‘}’ token
23 | }
| ^
3nplus1.cpp:25:1: error: expected declaration before ‘}’ token
25 | }
| ^