Problem uniquenumbers
User RAyhahh
Submission Time 2024-08-14 16:03:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:11:3: error: ‘set’ was not declared in this scope
11 | set<in> arr;
| ^~~
uniquenumbers.cpp:4:1: note: ‘std::set’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?
3 | #include <iostream>
+++ |+#include <set>
4 | #define in long long
uniquenumbers.cpp:4:12: error: expected primary-expression before ‘long’
4 | #define in long long
| ^~~~
uniquenumbers.cpp:11:7: note: in expansion of macro ‘in’
11 | set<in> arr;
| ^~
uniquenumbers.cpp:16:5: error: ‘arr’ was not declared in this scope
16 | arr.insert(x);
| ^~~
uniquenumbers.cpp:20:11: error: ‘arr’ was not declared in this scope
20 | cout << arr.size();
| ^~~