제출 #1000180

#제출 시각아이디문제언어결과실행 시간메모리
1000180Evirir9월 (APIO24_september)C++17
0 / 100
0 ms348 KiB
#include "september.h" #include <vector> #include <unordered_set> #define sz(x) (int)(x).size() int solve(int N, int M, std::vector<int> F, std::vector<std::vector<int>> S) { int ans = 0; std::unordered_set<int> s; for (int i = 0; i < N - 1; i++) { for (const auto& v : S) s.insert(v[i]); if (sz(s) == i + 1) ans++; } return ans; }
#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...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...