QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#115162#6354. 4huiCompile Error//C++142.9kb2023-06-24 18:55:172023-06-24 18:55:18

Details

answer.code: In constructor ‘Bitset::Bitset(int)’:
answer.code:8:19: error: ‘_aligned_malloc’ was not declared in this scope; did you mean ‘aligned_alloc’?
    8 |         a = (ull*)_aligned_malloc(sizeof(ull) * sz, 32);
      |                   ^~~~~~~~~~~~~~~
      |                   aligned_alloc
answer.code: In function ‘std::vector<std::tuple<int, int, int> > Find3Cycle(int, const std::vector<std::pair<int, int> >&)’:
answer.code:23:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
   23 |     for(auto [u,v] : edges) deg[u]++, deg[v]++;
      |              ^
answer.code:27:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
   27 |     for(auto [u,v] : edges) gph[pos[u]].push_back(pos[v]), gph[pos[v]].push_back(pos[u]);
      |              ^
answer.code:40:15: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
   40 |     for(auto &[u,v,w] : res){
      |               ^
answer.code: In function ‘long long int Count3Cycle(int, const std::vector<std::pair<int, int> >&)’:
answer.code:56:14: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
   56 |     for(auto [u,v] : edges) B[u].set(v), B[v].set(u);
      |              ^
answer.code: In function ‘int main()’:
answer.code:65:15: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
   65 |     for(auto &[u,v] : E) cin >> u >> v, u--, v--;
      |               ^
answer.code:74:18: warning: structured bindings only available with ‘-std=c++17’ or ‘-std=gnu++17’
   74 |             auto [u,v,w] = C[k];
      |                  ^