Problem sixandseven
User Mithilesh
Submission Time 2026-06-26 13:46:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sixandseven.cpp: In function ‘int main()’:
sixandseven.cpp:6:12: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | cin >> n;
| ^
| yn
sixandseven.cpp:8:18: error: no matching function for call to ‘find(const char [3])’
8 | if (find("67") != string::npos)
| ^
In file included from /usr/include/c++/9/bits/locale_facets.h:48,
from /usr/include/c++/9/bits/basic_ios.h:37,
from /usr/include/c++/9/ios:44,
from /usr/include/c++/9/istream:38,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from sixandseven.cpp:1:
/usr/include/c++/9/bits/streambuf_iterator.h:373:5: note: candidate: ‘template<class