Problem simplebridges
User AlphanumericUsername
Submission Time 2023-03-01 16:28:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

simplebridges.cpp: In function ‘int main()’:
simplebridges.cpp:2:29: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
2 | int main() {long long k,s,e;cin>>k>>k>>s>>e;if(abs(s-e)%k==0) std::cout<<"Yes";
| ^~~
| std::cin
In file included from simplebridges.cpp:1:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~