Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: sulinx

Problemset: กองชาม

Language: c

Time: 0.006 second

Submitted On: 2025-07-28 18:26:42

#include <stdio.h>
int main(){
    int sizeofBowl[301] = {0};
    int n;
    int temp;
    int max = 0;
    scanf("%d",&n);
    for(int i = 0;i<n;i++){
        scanf("%d",&temp);
        sizeofBowl[temp]++;
        if(sizeofBowl[temp]>0&&sizeofBowl[temp]>max){
            max = sizeofBowl[temp];
        }
    }
    printf("%d",max);
}