Problem luckynumbers2
User dacashew
Submission Time 2023-03-01 07:44:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

luckynumbers2.cpp: In function ‘int main()’:
luckynumbers2.cpp:21:13: error: ‘x’ was not declared in this scope
21 | if(s.find(x)!=s.back()){
| ^
luckynumbers2.cpp:21:19: error: ‘class std::set<long long int>’ has no member named ‘back’
21 | if(s.find(x)!=s.back()){
| ^~~~