Submission #839792

#TimeUsernameProblemLanguageResultExecution timeMemory
839792model_codeSoccer Stadium (IOI23_soccer)C++17
1.50 / 100
264 ms51196 KiB
// partially_correct/sol_db_check_atmost_one.cpp #include "soccer.h" #include <iostream> #include <array> #include <map> #include <algorithm> #include <cassert> #define xx first #define yy second using namespace std; typedef pair<int, int> pii; int biggest_stadium(int N, vector<vector<int>> C) { vector<int> emptyvec(N, 0); vector<vector<int>> emptymat(N, emptyvec); if (C == emptymat) { return N * N; } return C[0][0] || C[0].back() || C.back()[0] || C.back().back() ? N * N - 1 : 0; }
#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...
#Verdict Execution timeMemoryGrader output
Fetching results...