QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#660124 | #9476. 012 Grid | ucup-team881# | Compile Error | / | / | C++98 | 19.9kb | 2024-10-20 06:16:06 | 2024-10-20 06:16:06 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:29:14: error: in C++98 ‘roots’ must be initialized by constructor, not by ‘{...}’ 29 | vector<base> roots = {{0, 0}, {1, 0}}; | ^~~~~ answer.code:29:37: error: could not convert ‘{{0, 0}, {1, 0}}’ from ‘<brace-enclosed initializer list>’ to ‘std::vector<base>’ 29 | vector<base> roots = {{0, 0}, {1, 0}}; | ^ | | | <brace-enclosed initializer list> answer.code:30:13: error: in C++98 ‘rev’ must be initialized by constructor, not by ‘{...}’ 30 | vector<int> rev = {0, 1}; | ^~~ answer.code: In function ‘std::vector<long long int> multiply(std::vector<long long int>&, std::vector<long long int>&, long long int)’: answer.code:78:57: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 78 | fill (A.begin() + a.size(), A.begin() + sz, base{0, 0}); | ^ answer.code:87:65: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 87 | fill (B.begin() + b.size(), B.begin() + sz, base{0, 0}); | ^ answer.code: At global scope: answer.code:119:20: warning: defaulted and deleted functions only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 119 | modint() = default; | ^~~~~~~ answer.code:151:26: error: ‘uint64_t’ has not been declared 151 | modint<MOD> pow (uint64_t k) const { | ^~~~~~~~ answer.code:216:7: error: expected nested-name-specifier before ‘mint’ 216 | using mint = modint<mod>; | ^~~~ answer.code:218:16: error: ‘mint’ was not declared in this scope; did you mean ‘uint’? 218 | vector<mint> a; | ^~~~ | uint answer.code:218:20: error: template argument 1 is invalid 218 | vector<mint> a; | ^ answer.code:218:20: error: template argument 2 is invalid answer.code:222:23: warning: variadic templates only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 222 | template<class...Args> poly (Args...args): a (args...) { } | ^~~ answer.code:222:45: warning: variadic templates only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions] 222 | template<class...Args> poly (Args...args): a (args...) { } | ^~~~ answer.code:223:21: error: ‘initializer_list’ does not name a type 223 | poly (const initializer_list<mint> &x): a (x.begin(), x.end()) { } | ^~~~~~~~~~~~~~~~ answer.code:223:37: error: expected ‘,’ or ‘...’ before ‘<’ token 223 | poly (const initializer_list<mint> &x): a (x.begin(), x.end()) { } | ^ answer.code:227:16: error: ‘mint’ does not name a type; did you mean ‘uint’? 227 | inline mint coef (const int i) const { | ^~~~ | uint answer.code:230:9: error: ‘mint’ does not name a type; did you mean ‘uint’? 230 | mint operator[] (const int i) const { | ^~~~ | uint answer.code:262:32: error: ‘mint’ does not name a type; did you mean ‘uint’? 262 | poly operator * (const mint& x) const { | ^~~~ | uint answer.code:268:32: error: ‘mint’ does not name a type; did you mean ‘uint’? 268 | poly operator / (const mint &x) const { | ^~~~ | uint answer.code:280:34: error: ‘mint’ does not name a type; did you mean ‘uint’? 280 | poly& operator *= (const mint &x) { | ^~~~ | uint answer.code:283:34: error: ‘mint’ does not name a type; did you mean ‘uint’? 283 | poly& operator /= (const mint &x) { | ^~~~ | uint answer.code:440:20: error: ‘mint’ has not been declared 440 | poly mulx (mint x) { //component-wise multiplication with x^k | ^~~~ answer.code:446:23: error: ‘mint’ has not been declared 446 | poly mulx_sq (mint x) { //component-wise multiplication with x^{k^2} | ^~~~ answer.code:452:16: error: ‘mint’ was not declared in this scope; did you mean ‘uint’? 452 | vector<mint> chirpz_even (mint z, int n) { //P(1), P(z^2), P(z^4), ..., P(z^2(n-1)) | ^~~~ | uint answer.code:452:20: error: template argument 1 is invalid 452 | vector<mint> c...