| Problem | penguingathering |
|---|---|
| User | Yuhmama |
| Submission Time | 2026-06-24 16:01:52 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
penguingathering.cpp: In function ‘int main()’:
penguingathering.cpp:12:6: error: expected ‘(’ before ‘K’
12 | if K=sqrt(A[i]); {
| ^
| (
penguingathering.cpp:13:9: error: expected primary-expression before ‘int’
13 | A==((int K)-A[i])*((int K)-A[i]));
| ^~~
penguingathering.cpp:13:9: error: expected ‘)’ before ‘int’
13 | A==((int K)-A[i])*((int K)-A[i]));
| ~^~~
| )
penguingathering.cpp:13:37: error: expected ‘)’ before ‘;’ token
13 | A==((int K)-A[i])*((int K)-A[i]));
| ~ ^
| )
penguingathering.cpp:14:9: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::vector<int>’)
14 | cout << A;
| ~~~~ ^~ ~
| | |
| | std::vector<int>