摘要: 来源:https://zhidao.baidu.com/question/380723280.html int a[]={1,2,3}; 这种方式初始化,大括号里写了几个元素那么数组里就有几个元素,相当于int a[3]={1,2,3} int a[3]={0}; 这样是将a中的所有元素初始化为0; 阅读全文
posted @ 2019-02-24 11:49 别再闹了 阅读(3151) 评论(0) 推荐(0)
摘要: Determine whether an integer is a palindrome. An integer is a palindrome when it reads the same backward as forward. Example 1: Example 2: Example 3: 阅读全文
posted @ 2019-02-24 10:10 别再闹了 阅读(4367) 评论(0) 推荐(1)