Problem 3nplus1
User phoenix348
Submission Time 2025-01-08 16:22:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp:11:22: error: stray ‘\342’ in program
11 | Your task is: given n≤10000, generate the sequence.
| ^
3nplus1.cpp:11:23: error: stray ‘\211’ in program
11 | Your task is: given n≤10000, generate the sequence.
| ^
3nplus1.cpp:11:24: error: stray ‘\244’ in program
11 | Your task is: given n≤10000, generate the sequence.
| ^
3nplus1.cpp:1:1: error: ‘The’ does not name a type
1 | The 3n+1 s
| ^~~
In file included from /usr/include/c++/9/cmath:43,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from 3nplus1.cpp:2:
/usr/include/c++/9/ext/type_traits.h:162:35: error: ‘bool __gnu_cxx::__is_null_pointer’ redeclared as different kind of entity
162 | __is_null_pointer(std::nullptr_t)
| ^
/usr/include/c++/9/ext/type_traits.h:157:5: note: previous