这两道题没怎么看懂什么意思,麻烦敲一下代码,xiexie。ushdbnfoxubrnms



输入n,然后循环n次,接收3个整数,判断1的数量
第一题:
if(a+b+c>=2)
cnt++;
第二题:
one = y%10;
two = y/10%10;
three = y/100%10;
four = y/1000;
if(one==two || one==three || one==four || two==three || two==four || three==four)