| Problem | party_noi |
|---|---|
| User | liliputian |
| Submission Time | 2026-10-02 23:40:23 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
party_noi.cpp: In function ‘int main()’:
party_noi.cpp:8:19: error: ‘floor’ is not a member of ‘std’
8 | L friends = std::floor((n + 1)/2)
| ^~~~~
party_noi.cpp:10:40: error: ‘a’ was not declared in this scope
10 | for (L i = 0; i < n; i++) std::cin >> a[i];
| ^
party_noi.cpp:11:12: error: ‘a’ was not declared in this scope
11 | std::sort(a, a + n);
| ^