제출 #1136417

#제출 시각아이디문제언어결과실행 시간메모리
1136417chinhhoangInfinite Race (EGOI24_infiniterace2)C++20
0 / 100
42 ms9800 KiB
#include <bits/stdc++.h> using namespace std; const int N = 1e3+15; int dp[N][N][15][2]; int main(){ ios_base::sync_with_stdio(0); cin.tie(NULL);cout.tie(NULL); int n,m; cin>>n>>m; int ans=0; map<int,int>mp; while(m--){ int x; cin>>x; ans=max(++mp[x],ans); } cout<<ans-1; 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...