QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#214835 | #6549. Two Missing Numbers | ucup-team2045# | Compile Error | / | / | C++17 | 14.4kb | 2023-10-15 00:22:34 | 2023-10-15 00:22:34 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:335:13: error: redefinition of ‘void yes()’ 335 | inline void yes() { cout << "YES" << endl; return; } | ^~~ answer.code:22:13: note: ‘void yes()’ previously defined here 22 | inline void yes() { cout << "YES" << endl; return; } | ^~~ answer.code:336:13: error: redefinition of ‘void no()’ 336 | inline void no() { cout << "NO" << endl; return; } | ^~ answer.code:23:13: note: ‘void no()’ previously defined here 23 | inline void no() { cout << "NO" << endl; return; } | ^~ answer.code:338:13: error: redefinition of ‘template<class T> void out(T)’ 338 | inline void out(T temp) { cout << temp << endl; return; } | ^~~ answer.code:25:13: note: ‘template<class T> void out(T)’ previously declared here 25 | inline void out(T temp) { cout << temp << endl; return; } | ^~~ answer.code:340:6: error: redefinition of ‘void init()’ 340 | void init() { | ^~~~ answer.code:27:6: note: ‘void init()’ previously defined here 27 | void init() { | ^~~~ answer.code:344:12: error: redefinition of ‘std::mt19937_64 mt’ 344 | mt19937_64 mt(734); | ^~ answer.code:31:12: note: ‘std::mt19937_64 mt’ previously declared here 31 | mt19937_64 mt(727); | ^~ answer.code:346:24: error: redefinition of ‘long long unsigned int rng()’ 346 | unsigned long long int rng(){ | ^~~ answer.code:33:24: note: ‘long long unsigned int rng()’ previously defined here 33 | unsigned long long int rng(){ | ^~~ answer.code:351:24: error: redefinition of ‘long long unsigned int RNG [64][64]’ 351 | unsigned long long int RNG[64][64]; | ^~~ answer.code:38:24: note: ‘long long unsigned int RNG [64][64]’ previously declared here 38 | unsigned long long int RNG[64][64]; | ^~~ answer.code:354:24: error: redefinition of ‘long long unsigned int bruh(long long unsigned int, long long unsigned int)’ 354 | unsigned long long int bruh(unsigned long long int a, unsigned long long int b){ | ^~~~ answer.code:41:24: note: ‘long long unsigned int bruh(long long unsigned int, long long unsigned int)’ previously defined here 41 | unsigned long long int bruh(unsigned long long int a, unsigned long long int b){ | ^~~~ answer.code:368:4: error: redefinition of ‘long long int pow(long long int, long long int, long long int)’ 368 | ll pow(ll base, ll p, ll MOD) | ^~~ answer.code:55:4: note: ‘long long int pow(long long int, long long int, long long int)’ previously defined here 55 | ll pow(ll base, ll p, ll MOD) | ^~~ answer.code:375:4: error: redefinition of ‘long long int inv(long long int, long long int)’ 375 | ll inv(ll x, ll MOD) { return pow(x, MOD - 2, MOD); } | ^~~ answer.code:62:4: note: ‘long long int inv(long long int, long long int)’ previously defined here 62 | ll inv(ll x, ll MOD) { return pow(x, MOD - 2, MOD); } | ^~~ answer.code:380:10: error: redefinition of ‘const long long int mod’ 380 | const ll mod = 2; // faster if const | ^~~ answer.code:67:10: note: ‘const long long int mod’ previously defined here 67 | const ll mod = 2; // faster if const | ^~~ answer.code:381:23: error: redefinition of ‘std::vector<long long int> gauss(std::vector<std::vector<long long int> >&, long long int)’ 381 | vector<long long int> gauss(vector<vector<ll> > &a, ll MOD) | ^~~~~ answer.code:68:23: note: ‘std::vector<long long int> gauss(std::vector<std::vector<long long int> >&, long long int)’ previously defined here 68 | vector<long long int> gauss(vector<vector<ll> > &a, ll MOD) | ^~~~~ answer.code:483:24: error: redefinition of ‘long long unsigned int fix’ 483 | unsigned long long int fix = 0; | ^~~ answer.code:170:24: note: ‘long long unsigned int fix’ previously defined here 170 | unsigned long long int fix = 0; | ^~~ answer.code:484:9: error: redefinition of ‘int32_t main()’ 484 | int32_t main() { | ^~~~ answer.code:171:9: note: ‘int32_t main()’ previously defined here 171 | int32_t main() { | ^~~~