Problem ccs
User silvspider
Submission Time 2024-07-06 10:20:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ccs.cpp: In function ‘int main()’:
ccs.cpp:5:43: error: cannot bind non-const lvalue reference of type ‘int&’ to an rvalue of type ‘int’
5 | ios_base::sync_with_stdio(false);cin,tie(0);
| ^
In file included from /usr/include/c++/9/functional:54,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from ccs.cpp:1:
/usr/include/c++/9/tuple:1611:19: note: initializing argument 1 of ‘constexpr std::tuple<_Elements& ...> std::tie(_Elements& ...) [with _Elements = {int}]’
1611 | tie(_Elements&... __args) noexcept
| ~~~~~~~~~~^~~~~~~~~~
ccs.cpp:12:9: error: ‘x’ was not declared in this scope
12 | cin>>x;
| ^
ccs.cpp:13:4: error: ‘asleep_cats’ was not declared in this scope
1