Problem | uniquenumbers |
---|---|
User | impotato |
Submission Time | 2024-03-14 17:23:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int32_t main()’:
uniquenumbers.cpp:7:7: error: expected ‘;’ before ‘n’
7 | int n;
| ^
uniquenumbers.cpp:8:10: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
8 | cin >> n;
| ^
| yn
uniquenumbers.cpp:9:14: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _Tp, class _Alloc> class std::vector’
9 | vector <int> v;
| ^
uniquenumbers.cpp:9:14: note: expected a type, got ‘16’
uniquenumbers.cpp:9:14: error: template argument 2 is invalid
uniquenumbers.cpp:10:12: error: expected ‘;’ before ‘i’
10 | for (int i = 0; i < n; i++) {
| ^
uniquenumbers.cpp:10:19: error: ‘i’ was not declared in this scope
10 | for (int i = 0; i < n; i++) {
| ^
uniquenumbers.cpp:11:9: error: expected ‘;’ before ‘a’
11 |