Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: exoworldgd

Problemset: กองชาม

Language: cpp

Time: 0.016 second

Submitted On: 2025-06-04 22:20:22

#include <bits/stdc++.h>
#define int long long
using namespace std;
signed main(void) {
    int n,mx=0;
    cin >> n;
    map<int,int> freq;
    while (n--) {int x; cin >> x, freq[x]++;}
    for (auto [l,r] : freq) mx = max(mx,r);
    cout << mx;
}