| Problem | ljubomora |
|---|---|
| User | BlueSpace |
| Submission Time | 2026-11-16 09:34:51 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ljubomora.cpp: In function ‘int32_t main()’:
ljubomora.cpp:17:7: error: ‘i’ was not declared in this scope
17 | for (i=0; i < m; i++){
| ^
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:2: error: ‘envy’ was not declared in this scope
31 | envy = (N + t + 1)/t;
| ^~~~
ljubomora.cpp:31:10: error: ‘N’ was not declared in this scope
31 | envy = (N + t + 1)/t;
| ^
ljubomora.cpp:33:18: error: expected ‘}’ at end of input
33 | cout << envy << "\n"
| ^~~~
ljubomora.cpp:5:17: note: to match this ‘{’
5 | int32_t main () {
| ^