제출 #1061119

#제출 시각아이디문제언어결과실행 시간메모리
1061119Kerim서열 (APIO23_sequence)C++17
0 / 100
40 ms11576 KiB
#include "sequence.h" #include <vector> #include "bits/stdc++.h" using namespace std; int sequence(int N, std::vector<int> A) { std::vector<int> cnt(3); for (auto x: A){ assert(x<3); cnt[x] += 1; } return max(cnt[0], max(cnt[1], cnt[2])); }
#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...