code it should determine which value in the array occurs most often i write it by use two pointers of array but when i run it become error

前端 未结 0 1551
粉色の甜心
粉色の甜心 2021-02-18 23:45
#include 
#include 
using namespace std; 
int f(int ptr[ ], int size) { int s = 0; int* ptr2 = new int[size]; for (int y = 0; y <= size - 1; y++) { ptr2[y] = 0;

} fo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题