Problem | sonictheparallelogram |
---|---|
User | vadar2525 |
Submission Time | 2025-08-13 16:20:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sonictheparallelogram.cpp: In function ‘int main()’:
sonictheparallelogram.cpp:11:6: error: conflicting declaration ‘long long int a [n]’
11 | int a[n];
| ^
sonictheparallelogram.cpp:9:7: note: previous declaration as ‘bool a’
9 | bool a = true;
| ^
sonictheparallelogram.cpp:13:13: error: invalid types ‘bool[long long int]’ for array subscript
13 | cin >> a[i];
| ^
sonictheparallelogram.cpp:14:9: error: invalid types ‘bool[long long int]’ for array subscript
14 | if(a[i] < 0){
| ^
sonictheparallelogram.cpp:17:3: error: expected ‘,’ or ‘;’ before ‘}’ token
17 | }
| ^