QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#215132#5615. Two Charts Become OneHuangHanShengCompile Error//C++172.3kb2023-10-15 03:31:232023-10-15 03:31:23

Details

answer.code:37:21: error: redefinition of ‘std::array<int, 1000001> listA’
   37 | array<int, 1000001> listA, listB;
      |                     ^~~~~
answer.code:4:21: note: ‘std::array<int, 1000001> listA’ previously declared here
    4 | array<int, 1000001> listA, listB;
      |                     ^~~~~
answer.code:37:28: error: redefinition of ‘std::array<int, 1000001> listB’
   37 | array<int, 1000001> listA, listB;
      |                            ^~~~~
answer.code:4:28: note: ‘std::array<int, 1000001> listB’ previously declared here
    4 | array<int, 1000001> listA, listB;
      |                            ^~~~~
answer.code:38:22: error: redefinition of ‘std::array<bool, 1000001> listC’
   38 | array<bool, 1000001> listC, listD, listE;
      |                      ^~~~~
answer.code:5:22: note: ‘std::array<bool, 1000001> listC’ previously declared here
    5 | array<bool, 1000001> listC, listD, listE;
      |                      ^~~~~
answer.code:38:29: error: redefinition of ‘std::array<bool, 1000001> listD’
   38 | array<bool, 1000001> listC, listD, listE;
      |                             ^~~~~
answer.code:5:29: note: ‘std::array<bool, 1000001> listD’ previously declared here
    5 | array<bool, 1000001> listC, listD, listE;
      |                             ^~~~~
answer.code:38:36: error: redefinition of ‘std::array<bool, 1000001> listE’
   38 | array<bool, 1000001> listC, listD, listE;
      |                                    ^~~~~
answer.code:5:36: note: ‘std::array<bool, 1000001> listE’ previously declared here
    5 | array<bool, 1000001> listC, listD, listE;
      |                                    ^~~~~
answer.code:40:5: error: redefinition of ‘int parse(int, int, int, const string&)’
   40 | int parse(int ii, int parent, int chart, const string &line) {
      |     ^~~~~
answer.code:7:5: note: ‘int parse(int, int, int, const string&)’ previously defined here
    7 | int parse(int ii, int parent, int chart, const string &line) {
      |     ^~~~~