摘要: View Code 1 #include <iostream> 2 using namespace std; 3 4 const int SIZE=10; 5 6 int getFrequency(int index,int* bottom) 7 { 8 int count=0; 9 for(int i=0;i<SIZE;++i)10 {11 if(bottom[i]==index)12 count++;13 }14 return count;15 }16 17 void Calc(const int* Up... 阅读全文
posted @ 2012-05-15 16:19 Cavia 阅读(267) 评论(0) 推荐(0) 编辑