Problem uniquenumbers
User Runjia
Submission Time 2025-02-22 11:17:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:6:2: error: ‘set’ was not declared in this scope
6 | set int numbers;
| ^~~
uniquenumbers.cpp:2:1: note: ‘std::set’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?
1 | #include <iostream>
+++ |+#include <set>
2 | #define int long long
uniquenumbers.cpp:7:6: error: ‘i’ was not declared in this scope
7 | for(i=o;i<N;i++){
| ^
uniquenumbers.cpp:7:8: error: ‘o’ was not declared in this scope
7 | for(i=o;i<N;i++){
| ^
uniquenumbers.cpp:9:2: error: ‘numbers’ was not declared in this scope
9 | numbers.insert(entry);
| ^~~~~~~
uniquenumbers.cpp:11:8: error: ‘numbers’ was not declared in this scope
11 | cout<<numbers.size();
| ^~~~~~~