QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#439471 | #8726. Magic Show | ahihi1234 | Compile Error | / | / | C++14 | 6.1kb | 2024-06-12 00:33:35 | 2024-06-12 00:33:35 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
In file included from Alice.code:77: Alice.h:3:33: error: ambiguating new declaration of ‘std::vector<std::pair<long long int, long long int> > Alice()’ 3 | std::vector<std::pair<int,int>> Alice(); | ^~~~~ Alice.code:70:31: note: old declaration ‘std::vector<std::pair<int, int> > Alice()’ 70 | vector<pair<int32_t,int32_t>> Alice(){ | ^~~~~ Alice.code:90:8: error: redefinition of ‘long long int Alice_solver::c [100][100]’ 90 | int c[100][100]; | ^ Alice.code:14:8: note: ‘long long int Alice_solver::c [100][100]’ previously declared here 14 | int c[100][100]; | ^ Alice.code:91:16: error: redefinition of ‘std::vector<long long int> Alice_solver::encode(long long int)’ 91 | vector<int> encode(int x){ | ^~~~~~ Alice.code:15:16: note: ‘std::vector<long long int> Alice_solver::encode(long long int)’ previously defined here 15 | vector<int> encode(int x){ | ^~~~~~ Alice.code:102:8: error: redefinition of ‘long long int Alice_solver::decode(std::vector<long long int>)’ 102 | int decode(vector<int> v){ | ^~~~~~ Alice.code:26:8: note: ‘long long int Alice_solver::decode(std::vector<long long int>)’ previously defined here 26 | int decode(vector<int> v){ | ^~~~~~ Alice.code:112:8: error: redefinition of ‘long long int Alice_solver::mp [5000]’ 112 | int mp[5000], rmp[5000]; | ^~ Alice.code:36:8: note: ‘long long int Alice_solver::mp [5000]’ previously declared here 36 | int mp[5000], rmp[5000]; | ^~ Alice.code:112:18: error: redefinition of ‘long long int Alice_solver::rmp [5000]’ 112 | int mp[5000], rmp[5000]; | ^~~ Alice.code:36:18: note: ‘long long int Alice_solver::rmp [5000]’ previously declared here 36 | int mp[5000], rmp[5000]; | ^~~ Alice.code:113:12: error: redefinition of ‘std::mt19937 Alice_solver::rng’ 113 | mt19937 rng(69420); | ^~~ Alice.code:37:12: note: ‘std::mt19937 Alice_solver::rng’ previously declared here 37 | mt19937 rng(69); | ^~~ Alice.code:114:9: error: redefinition of ‘void Alice_solver::precalc()’ 114 | void precalc(){ | ^~~~~~~ Alice.code:38:9: note: ‘void Alice_solver::precalc()’ previously defined here 38 | void precalc(){ | ^~~~~~~ Alice.code:123:35: error: redefinition of ‘std::vector<std::pair<int, int> > Alice_solver::solve()’ 123 | vector<pair<int32_t, int32_t>> solve(){ | ^~~~~ Alice.code:47:35: note: ‘std::vector<std::pair<int, int> > Alice_solver::solve()’ previously defined here 47 | vector<pair<int32_t, int32_t>> solve(){ | ^~~~~ Alice.code:146:31: error: redefinition of ‘std::vector<std::pair<int, int> > Alice()’ 146 | vector<pair<int32_t,int32_t>> Alice(){ | ^~~~~ Alice.code:70:31: note: ‘std::vector<std::pair<int, int> > Alice()’ previously defined here 70 | vector<pair<int32_t,int32_t>> Alice(){ | ^~~~~