| Problem | penguingathering |
|---|---|
| User | lygrace |
| Submission Time | 2026-06-24 15:32:57 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
penguingathering.cpp: In function ‘int main()’:
penguingathering.cpp:12:11: error: ‘X’ cannot be used as a function
12 | cin>>X(i);
| ^
penguingathering.cpp:18:22: error: invalid types ‘int[int]’ for array subscript
18 | int dist = pow(X[i]-p,2);
| ^