| Problem | ljubomora |
|---|---|
| User | Nikelodean |
| Submission Time | 2025-12-17 15:41:46 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ljubomora.cpp:6:11: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
6 | ll arr[3e5+4];
| ~~~^~
ljubomora.cpp:6:11: error: could not convert ‘(3.0e+5 + (double)4)’ from ‘double’ to ‘long unsigned int’
ljubomora.cpp:6:11: error: size of array ‘arr’ has non-integral type ‘double’
ljubomora.cpp: In function ‘long long int game(long long int)’:
ljubomora.cpp:12:27: error: expected ‘;’ before ‘}’ token
12 | groups += (arr[i]+x-1)/x
| ^
| ;
13 | }
| ~
ljubomora.cpp:14:15: error: expected ‘;’ before ‘}’ token
14 | return groups
| ^
| ;
15 | }
| ~
ljubomora.cpp: In function ‘int main()’:
ljubomora.cpp:23:14: error: ‘hi’ was not declared in this scope
23 | ll lo = -1; hi = (ll)1e9+4;
|