俭朴棒棒糖

文章
10
资源
0
加入时间
3年1月8天

c笔试题整理

C语言题,输入一个正整数,要求判断这个数是否是对称数(比如121,123321,1456541)。要求不能调用字符串库函数。#include #include #include int main(int argc, char* argv[]){ while(1) {  unsigned int nInt = 0;  scanf("%d",

java集合的removeIf方法List集合

java集合List集合1.removeIf方法List集合1.removeIf方法工作中常会遇到根据指定字段或要求过滤集合数据的问题,比如过滤集合中学生编号number中有字母的,看看哪种方法比较简单:错误方法:for 循环 public static void main(String[] args) { List<Person> list=new ArrayLis...