Submission #1099435

#TimeUsernameProblemLanguageResultExecution timeMemory
1099435andreiqwerInfinite Race (EGOI24_infiniterace2)C++17
0 / 100
36 ms2384 KiB
#include <iostream> using namespace std; int n, q, frecv[200001], maxval=0; int main() { cin>>n>>q; for(int i=1; i<=q; i++) { int x; cin>>x; frecv[x]++; maxval=max(maxval, frecv[x]); } cout<<maxval-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...