Problem uniquenumbers
User Hytoh
Submission Time 2023-04-02 10:51:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

uniquenumbers.cpp:6:1: error: ‘cin’ does not name a type
6 | cin >> n;
| ^~~
uniquenumbers.cpp:11:1: error: expected unqualified-id before ‘for’
11 | for (int i = 0; i < n; i++) {
| ^~~
uniquenumbers.cpp:11:17: error: ‘i’ does not name a type
11 | for (int i = 0; i < n; i++) {
| ^
uniquenumbers.cpp:11:24: error: ‘i’ does not name a type
11 | for (int i = 0; i < n; i++) {
| ^
uniquenumbers.cpp:16:1: error: ‘cout’ does not name a type
16 | cout << unique_numbers.size() << endl;
| ^~~~