Problem globalwarming
User popperoni
Submission Time 2025-07-16 18:15:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

globalwarming.cpp:18:3: error: ‘staticuint64_t’ does not name a type
18 | staticuint64_t splitmix64(uint64_t x) { x += 0x9e3779b97f4a7c15;
| ^~~~~~~~~~~~~~
globalwarming.cpp:28:31: error: ISO C++ forbids declaration of ‘size_toperator’ with no type [-fpermissive]
28 | size_toperator()(uint64_t x)const {
| ^~~~~
globalwarming.cpp:28:31: error: ‘size_toperator’ declared as function returning a function
In file included from /usr/include/c++/9/bits/hashtable.h:35,
from /usr/include/c++/9/unordered_map:46,
from /usr/include/c++/9/functional:61,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from globalwarming.cpp:1:
/usr/include/c++/9/bits/hashtable_policy.h: In instantiation of ‘std::__