Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
3 and 7 in a row
#include <bits/stdc++.h> using namespace std; int main() { string S; int i ; cin>>S; for(i =0; i<S.size(); i++) if(S[i]=='3' && S[i+1]=='7') break; if(i<S.size())cout<<"YES"<<endl; else cout<<"NO"<<endl; }
run
|
edit
|
history
|
help
0
Factorial Inv wip
next greater palindrome
Hashing
VectorNormFn
1744. Can You Eat Your Favorite Candy on Your Favorite Day?
Boost phoenix. e.g 2: functor
synowie abrahama
Articulation and Bridges
unordered_map
Riemann's prime number formula