Problem ljubomora
User BlueSpace
Submission Time 2026-11-16 09:35:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ljubomora.cpp: In function ‘int32_t main()’:
ljubomora.cpp:26:12: error: cannot convert ‘std::vector<long long int>::empty’ from type ‘bool (std::vector<long long int>::)() const noexcept’ to type ‘bool’
26 | while (!v.empty){
| ^~~~~
ljubomora.cpp:26:12: error: in argument to unary !
ljubomora.cpp:31:14: error: ‘N’ was not declared in this scope
31 | int envy = (N + t + 1)/t;
| ^