Problem | eatingparallelograms |
---|---|
User | akyy1713 |
Submission Time | 2025-06-20 15:56:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
eatingparallelograms.cpp: In function ‘int main()’:
eatingparallelograms.cpp:8:38: error: invalid types ‘int[int]’ for array subscript
8 | for (int i = 0; i<n; i++) cin >> p[n];
| ^
eatingparallelograms.cpp:9:38: error: invalid types ‘int[int]’ for array subscript
9 | for (int i = 0; i<n; i++) cin >> s[n];
| ^
eatingparallelograms.cpp:12:25: error: ‘N’ was not declared in this scope
12 | for (int i = 0; i < N; ++i) {
| ^
eatingparallelograms.cpp:15:30: error: ‘A’ was not declared in this scope
15 | long long area = A[i] * B[j] - B[i] * A[j];
| ^
eatingparallelograms.cpp:15:37: error: ‘B’ was not declared in this scope
15 | long long area = A[i] * B[j] - B[i] * A[j];
| ^
eatingparall