QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#33049#141. 8 染色flowerCompile Error//C++148.4kb2022-05-27 08:07:042023-01-15 15:45:38

Details

Alice.code: In function ‘std::vector<int> {anonymous}::solve(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’:
Alice.code:24:30: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
   24 |                         auto [d, u] = q.top(); q.pop();
      |                              ^
Alice.code: At global scope:
Alice.code:88:17: error: redefinition of ‘std::mt19937 {anonymous}::hua’
   88 |         mt19937 hua(512);
      |                 ^~~
Alice.code:5:17: note: ‘std::mt19937 {anonymous}::hua’ previously declared here
    5 |         mt19937 hua(512);
      |                 ^~~
Alice.code:89:23: error: redefinition of ‘constexpr const int {anonymous}::B’
   89 |         constexpr int B = 2.5e5 / 3;
      |                       ^
Alice.code:6:23: note: ‘constexpr const int {anonymous}::B’ previously defined here
    6 |         constexpr int B = 1.5e5 / 3;
      |                       ^
Alice.code:90:23: error: redefinition of ‘constexpr const int {anonymous}::B1’
   90 |         constexpr int B1 = 1e3 / 3;
      |                       ^~
Alice.code:7:23: note: ‘constexpr const int {anonymous}::B1’ previously defined here
    7 |         constexpr int B1 = 1e3 / 3;
      |                       ^~
Alice.code:91:21: error: redefinition of ‘std::vector<int> {anonymous}::solve(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’
   91 |         vector<int> solve(int n, int m, vector<int> u, vector<int> v, vector<int> c) {
      |                     ^~~~~
Alice.code:8:21: note: ‘std::vector<int> {anonymous}::solve(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’ previously defined here
    8 |         vector<int> solve(int n, int m, vector<int> u, vector<int> v, vector<int> c) {
      |                     ^~~~~
Alice.code: In function ‘std::vector<int> {anonymous}::solve(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’:
Alice.code:107:30: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
  107 |                         auto [d, u] = q.top(); q.pop();
      |                              ^
Alice.code: At global scope:
Alice.code:164:14: error: redefinition of ‘std::vector<int> Alice(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’
  164 | vector <int> Alice(int N, int M, vector <int> U, vector <int> V, vector <int> C) {
      |              ^~~~~
Alice.code:81:14: note: ‘std::vector<int> Alice(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’ previously defined here
   81 | vector <int> Alice(int N, int M, vector <int> U, vector <int> V, vector <int> C) {
      |              ^~~~~