Submission #1107843

#TimeUsernameProblemLanguageResultExecution timeMemory
1107843coolboy19521Soccer Stadium (IOI23_soccer)C++17
1.50 / 100
206 ms39696 KiB
#include "soccer.h" int biggest_stadium(int N, std::vector<std::vector<int>> F) { bool f = true; int c = 0; for (int i = 0; i < N; i ++) { for (int j = 0; j < N; j ++) { if (F[i][j] == 1) { if ((0 < i && i < N - 1) || (0 < j && j < N - 1)) { f = false; } } else { c ++; } } } if (f) { return c; } return 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...