Problem | bronzemedal |
---|---|
User | DuckyKayden |
Submission Time | 2025-08-06 16:27:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bronzemedal.cpp: In function ‘int32_t main()’:
bronzemedal.cpp:13:14: error: request for member ‘begin’ in ‘a’, which is of non-class type ‘std::vector<long long int> [n]’
13 | sort(min(a.begin, max(a.end));
| ^~~~~
bronzemedal.cpp:13:27: error: request for member ‘end’ in ‘a’, which is of non-class type ‘std::vector<long long int> [n]’
13 | sort(min(a.begin, max(a.end));
| ^~~
bronzemedal.cpp:22:16: error: cannot convert ‘std::vector<long long int>’ to ‘long long int’ in assignment
22 | cutoff = a[i];
| ~~~^
| |
| std::vector<long long int>
bronzemedal.cpp:28:12: error: no match for ‘operator>=’ (operand types are ‘std::vector<long long int>’ and ‘long long int’)
28 | if (a[i] >= count) {
| ~~~~ ^~ ~~~~~
| | |
| | long long i