Problem | uniquenumbers |
---|---|
User | de3znut5 |
Submission Time | 2024-05-13 21:08:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:7:5: error: ‘cin’ was not declared in this scope
7 | cin>>c;
| ^~~
uniquenumbers.cpp:2:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <vector>
+++ |+#include <iostream>
2 | using namespace std;
uniquenumbers.cpp:14:5: error: ‘set’ was not declared in this scope
14 | set<long long> s(n.begin(), n.end());
| ^~~
uniquenumbers.cpp:2:1: note: ‘std::set’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?
1 | #include <vector>
+++ |+#include <set>
2 | using namespace std;
uniquenumbers.cpp:14:9: error: expected primary-expression before ‘long’
14 | set<long long> s(n.begin(), n.end());
| ^~~~
uniquenumbers.cpp:15:5: error: ‘cout’ was not declared in this scope