Submission #684630

#TimeUsernameProblemLanguageResultExecution timeMemory
684630KongggwpConnecting Supertrees (IOI20_supertrees)C++14
0 / 100
1 ms300 KiB
#include "supertrees.h" #include<vector> #include<bits/stdc++.h> using namespace std; int construct(vector<vector<int>> p) { int n = p.size(); vector<vector<int>> answer; for(int i=0 ; i<n ; i++) { for(int j=0 ; j<n ; j++) { if(p[i][j]==3)return 0; } } for (int i = 0; i < n; i++) { vector<int> row; row.resize(n); answer.push_back(row); } build(answer); return 1; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...