Problem | uniquenumbers |
---|---|
User | ultbiaslia |
Submission Time | 2023-11-09 09:11:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:6:9: error: two or more data types in declaration of ‘N’
6 | int N;
| ^
uniquenumbers.cpp:7:5: error: ‘N’ was not declared in this scope
7 | N =1 <= N <= 1000000;
| ^
uniquenumbers.cpp:8:19: error: expected ‘}’ before ‘to’
8 | int A[N] = {1 to 50};
| ~ ^~
uniquenumbers.cpp: At global scope:
uniquenumbers.cpp:10:1: error: ‘cout’ does not name a type
10 | cout << A[1];
| ^~~~
uniquenumbers.cpp:12:1: error: ‘cout’ does not name a type
12 | cout << A[1000000];
| ^~~~
uniquenumbers.cpp:14:3: error: expected unqualified-id before ‘return’
14 | return 0;
| ^~~~~~
uniquenumbers.cpp:15:1: error: expected declaration before ‘}’ token
15 | }
| ^