Problem | parallelogramisation2 |
---|---|
User | shoryu386 |
Submission Time | 2025-06-07 23:48:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
parallelogramisation2.cpp: In function ‘int main()’:
parallelogramisation2.cpp:13:6: error: conflicting declaration ‘int a’
13 | int a, b;
| ^
parallelogramisation2.cpp:7:6: note: previous declaration as ‘int a [n]’
7 | int a[n], b[n];
| ^
parallelogramisation2.cpp:13:9: error: conflicting declaration ‘int b’
13 | int a, b;
| ^
parallelogramisation2.cpp:7:12: note: previous declaration as ‘int b [n]’
7 | int a[n], b[n];
| ^
parallelogramisation2.cpp:17:30: error: incompatible types in assignment of ‘int’ to ‘int [n]’
17 | if (k > bst) bst = k, a = i, b = j;}
| ^
parallelogramisation2.cpp:17:37: error: incompatible types in assignment of ‘int’ to ‘int [n]’
17 | if (k > bst) bst = k, a = i, b = j;}
| ^