QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#628098 | #8235. Top Cluster | ucup-team1405# | Compile Error | / | / | C++23 | 5.1kb | 2024-10-10 18:33:59 | 2024-10-10 18:34:00 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:111:20: error: ‘chrono’ has not been declared 111 | const int RANDOM = chrono::high_resolution_clock::now().time_since_epoch().count(); | ^~~~~~ answer.code: In function ‘void process(int)’: answer.code:128:38: error: invalid initialization of reference of type ‘__gnu_pbds::gp_hash_table<int, long long int>&’ from expression of type ‘__gnu_pbds::gp_hash_table<int, long long int, chash>’ 128 | dfs(to, children.back(), old, c); | ^~~ answer.code:80:64: note: in passing argument 3 of ‘void dfs(int, std::vector<int>&, __gnu_pbds::gp_hash_table<int, long long int>&, int)’ 80 | void dfs(int v, vector<int>& p, gp_hash_table<int, long long>& old, int prev = -1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ answer.code:135:38: error: invalid initialization of reference of type ‘__gnu_pbds::gp_hash_table<int, long long int>&’ from expression of type ‘__gnu_pbds::gp_hash_table<int, long long int, chash>’ 135 | rollback(children[child_id], old, c); | ^~~ answer.code:99:62: note: in passing argument 2 of ‘void rollback(std::vector<int>&, __gnu_pbds::gp_hash_table<int, long long int>&, int)’ 99 | void rollback(vector<int>& v, gp_hash_table<int, long long>& old, int prev = -1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ answer.code:150:31: error: invalid initialization of reference of type ‘__gnu_pbds::gp_hash_table<int, long long int>&’ from expression of type ‘__gnu_pbds::gp_hash_table<int, long long int, chash>’ 150 | rollback(children[i], old, c); | ^~~ answer.code:99:62: note: in passing argument 2 of ‘void rollback(std::vector<int>&, __gnu_pbds::gp_hash_table<int, long long int>&, int)’ 99 | void rollback(vector<int>& v, gp_hash_table<int, long long>& old, int prev = -1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ answer.code:163:35: error: invalid initialization of reference of type ‘__gnu_pbds::gp_hash_table<int, long long int>&’ from expression of type ‘__gnu_pbds::gp_hash_table<int, long long int, chash>’ 163 | rollbackdist(children[i], old, c); | ^~~ answer.code:105:66: note: in passing argument 2 of ‘void rollbackdist(std::vector<int>&, __gnu_pbds::gp_hash_table<int, long long int>&, int)’ 105 | void rollbackdist(vector<int>& v, gp_hash_table<int, long long>& old, int prev = -1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~