Submission #715091

#TimeUsernameProblemLanguageResultExecution timeMemory
715091ELc0421Logičari (COCI21_logicari)C++14
0 / 110
1 ms212 KiB
#include <iostream> #include <map> using namespace std; int main () { int n; cin >> n; map<int, int> freq; for (int i = 1; i <= n; i++) { int a; cin >> a; freq[a]++; } int max_freq = 0; for (auto it = freq.begin(); it !=freq.end(); it++) { max_freq = max(max_freq, it->second); } int count = 0; cout << count << endl; 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...