| Problem | party_noi |
|---|---|
| User | bestatchinesechess |
| Submission Time | 2025-02-13 23:22:18 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
party_noi.cpp: In function ‘int main()’:
party_noi.cpp:10:10: error: ‘freinds’ was not declared in this scope; did you mean ‘friends’?
10 | cin >> freinds[i];
| ^~~~~~~
| friends
party_noi.cpp:15:3: error: ‘seats’ was not declared in this scope
15 | seats = n / 2;
| ^~~~~
party_noi.cpp:17:3: error: ‘seats’ was not declared in this scope
17 | seats = (n / 2) + 1;
| ^~~~~
party_noi.cpp:21:15: error: ‘friennds’ was not declared in this scope; did you mean ‘friends’?
21 | for (int i = friennds.size() - 1; i > (i - seats); i--) {
| ^~~~~~~~
| friends
party_noi.cpp:21:45: error: ‘seats’ was not declared in this scope
21 | for (int i = friennds.size() - 1; i > (i - seats); i--) {
| ^~~~~