Problem | alienalien |
---|---|
User | guru1396 |
Submission Time | 2024-12-04 15:13:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
alienalien.cpp: In function ‘int main()’:
alienalien.cpp:6:2: error: expected primary-expression before ‘<’ token
6 | <long> nums[n];
| ^
alienalien.cpp:6:3: error: expected primary-expression before ‘long’
6 | <long> nums[n];
| ^~~~
alienalien.cpp:9:10: error: ‘nums’ was not declared in this scope
9 | cin >> nums[i];
| ^~~~
alienalien.cpp:14:9: error: expected ‘;’ before ‘}’ token
14 | break
| ^
| ;
15 | }
| ~
alienalien.cpp:16:10: error: ‘nums’ was not declared in this scope
16 | while (nums[i] > 0){
| ^~~~
alienalien.cpp:33:1: error: expected ‘}’ at end of input
33 | }
| ^
alienalien.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^