Problem veryeasyproblem
User Halopro
Submission Time 2025-02-08 10:07:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

veryeasyproblem.cpp: In function ‘int32_t main()’:
veryeasyproblem.cpp:8:25: error: expected ‘;’ before ‘cin’
8 | ios::sync_with_stdio(0)
| ^
| ;
9 | cin.tie(0);
| ~~~
veryeasyproblem.cpp:11:6: error: no match for ‘operator<<’ (operand types are ‘std::istream’ {aka ‘std::basic_istream<char>’} and ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’})
11 | cin << n;
| ~~~ ^~ ~
| | |
| | std::string {aka std::__cxx11::basic_string<char>}
| std::istream {aka std::basic_istream<char>}
In file included from /usr/include/c++/9/regex:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,
from veryeasyproblem.cpp:1:
/usr/include/c++/9/bits/regex.h:1553:5: note: candidate: ‘template<class _Ch_type, class _Ch_traits, class _Bi_it