package com.Summer_0420.cn; /** * @author Summer * 获取数值型数组中大于60的元素个数 * 给数值型数组中不足60分的加20分 */ public class TestMethod02 { public static void main(String[] args) { int [] a = {1,35,60,80,75,123,156,32,1}; show(a); } private static void show(int[] a) { i
Home Web Board ProblemSet Standing Status Statistics Problem H: 整型数组运算符重载 Problem H: 整型数组运算符重载 Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 643 Solved: 401[Submit][Status][Web Board] Description 定义Array类: 1.拥有数据成员int length和int *mems,分别是数组中元素的个数