QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#336715 | #6529. Alice, Bob and Circuit | GuanYunchang | Compile Error | / | / | C++23 | 18.5kb | 2024-02-24 19:54:55 | 2024-02-24 19:54:56 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int circuit(int, int, int*, int (*)[2], int (*)[16])’: answer.code:443:31: error: template argument 1 is invalid 443 | vector<vector<numbers::bit>> a, b; | ^~ answer.code:443:31: error: template argument 2 is invalid answer.code:443:37: error: template argument 1 is invalid 443 | vector<vector<numbers::bit>> a, b; | ^ answer.code:443:37: error: template argument 2 is invalid answer.code:444:24: error: template argument 1 is invalid 444 | vector<numbers::bit> p_xtoa, p_xtoy; | ^ answer.code:444:24: error: template argument 2 is invalid answer.code:446:24: error: reference to ‘numbers’ is ambiguous 446 | namespace io = numbers::io; | ^~~~~~~ In file included from /usr/include/c++/11/bits/max_size_type.h:37, from /usr/include/c++/11/bits/ranges_base.h:38, from /usr/include/c++/11/string_view:48, from /usr/include/c++/11/bits/basic_string.h:48, from /usr/include/c++/11/string:55, from /usr/include/c++/11/bits/locale_classes.h:40, from /usr/include/c++/11/bits/ios_base.h:41, from /usr/include/c++/11/ios:42, from /usr/include/c++/11/istream:38, from /usr/include/c++/11/sstream:38, from /usr/include/c++/11/complex:45, from /usr/include/c++/11/ccomplex:39, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54, from answer.code:2: /usr/include/c++/11/numbers:48:11: note: candidates are: ‘namespace std::numbers { }’ 48 | namespace numbers | ^~~~~~~ answer.code:127:15: note: ‘namespace circuit_helpers::numbers { }’ 127 | namespace numbers | ^~~~~~~ answer.code:446:33: error: ‘io’ is not a namespace-name 446 | namespace io = numbers::io; | ^~ answer.code:447:9: error: ‘io’ has not been declared 447 | io::init(la + lb); | ^~ answer.code:451:9: error: ‘a’ was not declared in this scope 451 | a.resize(n); | ^ answer.code:454:60: error: ‘io’ has not been declared 454 | for (; a[i].size() < NAME_SIZE; a[i].push_back(io::input_ptr++)) | ^~ answer.code:456:71: error: ‘io’ has not been declared 456 | for (; a[i].size() < NAME_SIZE + NUM_SIZE; a[i].push_back(io::input_ptr++)) | ^~ answer.code:458:72: error: ‘io’ has not been declared 458 | for (; a[i].size() < NAME_SIZE + NAME_SIZE; a[i].push_back(io::zero)) | ^~ answer.code:460:28: error: ‘io’ has not been declared 460 | a[i].push_back(io::zero); | ^~ answer.code:463:20: error: request for member ‘push_back’ in ‘p_xtoa’, which is of non-class type ‘int’ 463 | p_xtoa.push_back(io::input_ptr++); | ^~~~~~~~~ answer.code:463:30: error: ‘io’ has not been declared 463 | p_xtoa.push_back(io::input_ptr++); | ^~ answer.code:467:9: error: ‘b’ was not declared in this scope 467 | b.resize(m); | ^ answer.code:470:60: error: ‘io’ has not been declared 470 | for (; b[i].size() < NAME_SIZE; b[i].push_back(io::input_ptr++)) | ^~ answer.code:472:72: error: ‘io’ has not been declared 472 | for (; b[i].size() < NAME_SIZE + NAME_SIZE; b[i].push_back(io::input_ptr++)) | ^~ answer.code:474:28: error: ‘io’ has not been declared 474 | b[i].push_back(io::one); | ^~ answer.code:477:20: error: request for member ‘push_back’ in ‘p_xtoy’, which is of non-class type ‘int’ 477 | p_xtoy.push_back(io::input_ptr++); | ^~~~~~~~~ answer.code:477:30: error: ‘io’ has not been declared 477 | p_xtoy.push_back(io::input_ptr++); | ^~ In file included from /usr/include/c++/11/cassert:44, from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:33, from answer.code:2: answer.code:479:16: error: ‘io’ has not been declared 479 | assert(io::input_ptr == io::input_size); | ^~ answer.code:479:33: error: ‘io’ has not been declared 479 | assert(io::input_ptr == io::input_size); | ^~ answer.code:484:31: error: template argument 1 is invalid 484...