/ Vijos /

记录详情

Compile Error

/in/foo.cc: In constructor 'ProperArray::ProperArray(std::unique_ptr<std::vector<std::complex<double> > >)':
/in/foo.cc:69:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while (m < V->size()) {
            ~~^~~~~~~~~~~
/in/foo.cc: In constructor 'ProperArray::ProperArray(std::vector<std::complex<double> >&)':
/in/foo.cc:77:9: error: 'make_unique' was not declared in this scope
     V = make_unique<vector<complex<double>>>(V_in);
         ^~~~~~~~~~~
/in/foo.cc:77:44: error: expected primary-expression before '>' token
     V = make_unique<vector<complex<double>>>(V_in);
                                            ^
/in/foo.cc:79:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     while (m < V->size()) {
            ~~^~~~~~~~~~~
/in/foo.cc: In copy constructor 'ProperArray::ProperArray(const ProperArray&)':
/in/foo.cc:88:9: error: 'make_unique' was not declared in this scope
     V = make_unique<vector<complex<double>>>((*s.V));
         ^~~~~~~~~~~
/in/foo.cc:88:44: error: expected primary-expression before '>' token
     V = make_unique<vector<complex<double>>>((*s.V));
                                            ^
/in/foo.cc: In member function 'ProperArray ProperArray::dft() const':
/in/foo.cc:94:18: error: 'make_unique' was not declared in this scope
     auto dft_V = make_unique<vector<complex<double>>>();
                  ^~~~~~~~~~~
/in/foo.cc:94:53: error: expected primary-expression before '>' token
     auto dft_V = make_unique<vector<complex<double>>>();
                                                     ^
/in/foo.cc:94:55: error: expected primary-expression before ')' token
     auto dft_V = make_unique<vector<complex<double>>>();
                                                       ^
/in/foo.cc:95:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < V->size(); ++i) {
                     ~~^~~~~~~~~~~
/in/foo.cc:98:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int j = 0; j < V->size(); ++j) {
                         ~~^~~~~~~~~~~
/in/foo.cc: In member function 'ProperArray ProperArray::rec_fft() const':
/in/foo.cc:110:22: error: 'make_unique' was not declared in this scope
         auto out_V = make_unique<vector<complex<double>>>();
                      ^~~~~~~~~~~
/in/foo.cc:110:57: error: expected primary-expression before '>' token
         auto out_V = make_unique<vector<complex<double>>>();
                                                         ^
/in/foo.cc:110:59: error: expected primary-expression before ')' token
         auto out_V = make_unique<vector<complex<double>>>();
                                                           ^
/in/foo.cc:117:15: error: 'make_unique' was not declared in this scope
     auto V0 = make_unique<vector<complex<double>>>();
               ^~~~~~~~~~~
/in/foo.cc:117:50: error: expected primary-expression before '>' token
     auto V0 = make_unique<vector<complex<double>>>();
                                                  ^
/in/foo.cc:117:52: error: expected primary-expression before ')' token
     auto V0 = make_unique<vector<complex<double>>>();
                                                    ^
/in/foo.cc:118:50: error: expected primary-expression before '>' token
     auto V1 = make_unique<vector<complex<double>>>();
                                                  ^
/in/foo.cc:118:52: error: expected primary-expression before ')' token
     auto V1 = make_unique<vector<complex<double>>>();
                                                    ^
/in/foo.cc:127:53: error: expected primary-expression before '>' token
     auto out_V = make_unique<vector<complex<double>>>();
                                                     ^
/in/foo.cc:127:55: error: expected primary-expression before ')' token
     auto out_V = make_unique<vector<complex<double>>>();
                                                       ^
/in/foo.cc: In member function 'ProperArray ProperArray::iter_fft() const':
/in/foo.cc:149:18: error: 'make_unique' was not declared in this scope
     auto out_V = make_unique<vector<complex<double>>>();
                  ^~~~~~~~~~~
/in/foo.cc:149:53: error: expected primary-expression before '>' token
     auto out_V = make_unique<vector<complex<double>>>();
                                                     ^
/in/foo.cc:149:55: error: expected primary-expression before ')' token
     auto out_V = make_unique<vector<complex<double>>>();
                                                       ^
/in/foo.cc:151:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < V->size(); ++i) {
                     ~~^~~~~~~~~~~
/in/foo.cc:157:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int k = 0; k < V->size(); k += m) {
                         ~~^~~~~~~~~~~
/in/foo.cc: In member function 'ProperArray ProperArray::ifft() const':
/in/foo.cc:176:18: error: 'make_unique' was not declared in this scope
     auto out_V = make_unique<vector<complex<double>>>();
                  ^~~~~~~~~~~
/in/foo.cc:176:53: error: expected primary-expression before '>' token
     auto out_V = make_unique<vector<complex<double>>>();
                                                     ^
/in/foo.cc:176:55: error: expected primary-expression before ')' token
     auto out_V = make_unique<vector<complex<double>>>();
                                                       ^
/in/foo.cc:178:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < V->size(); ++i) {
                     ~~^~~~~~~~~~~
/in/foo.cc:184:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int k = 0; k < V->size(); k += m) {
                         ~~^~~~~~~~~~~
/in/foo.cc: In copy constructor 'BigInteger::BigInteger(const BigInteger&)':
/in/foo.cc:220:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < s.T->size(); ++i) {
                         ~~^~~~~~~~~~~~~
/in/foo.cc: In member function 'BigInteger BigInteger::operator*(const BigInteger&)':
/in/foo.cc:299:20: error: 'make_unique' was not declared in this scope
     auto lhs_vec = make_unique<vector<complex<double>>>();
                    ^~~~~~~~~~~
/in/foo.cc:299:55: error: expected primary-expression before '>' token
     auto lhs_vec = make_unique<vector<complex<double>>>();
                                                       ^
/in/foo.cc:299:57: error: expected primary-expression before ')' token
     auto lhs_vec = make_unique<vector<complex<double>>>();
                                                         ^
/in/foo.cc:300:55: error: expected primary-expression before '>' token
     auto rhs_vec = make_unique<vector<complex<double>>>();
                                                       ^
/in/foo.cc:300:57: error: expected primary-expression before ')' token
     auto rhs_vec = make_unique<vector<complex<double>>>();
                                                         ^
/in/foo.cc:303:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < T->size(); ++i) {
                     ~~^~~~~~~~~~~
/in/foo.cc:306:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (int i = 0; i < rhs.T->size(); ++i) {
                     ~~^~~~~~~~~~~~~~~
/in/foo.cc:317:55: error: expected primary-expression before '>' token
     auto pro_vec = make_unique<vector<complex<double>>>();
                                                       ^
/in/foo.cc:317:57: error: expected primary-expression before ')' token
     auto pro_vec = make_unique<vector<complex<double>>>();
                                                         ^
/in/foo.cc: In member function 'void BigInteger::rearrange()':
/in/foo.cc:338:23: warning: comparison between 

信息

递交者
类型
递交
题目
P2000 A x B Problem
语言
C++
递交时间
2020-12-13 15:33:10
评测时间
2020-12-13 15:33:10
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes