码迷,mamicode.com
首页 >  
搜索关键字:palindrome numbers    ( 9163个结果
【转】Android开发:JavaDoc注释插件简单使用介绍
原文网址:https://www.jianshu.com/p/06153fabcad3 一、插件说明 JavaDoc 添加注释,可自定义模板。 插件下载地址:https://plugins.jetbrains.com/plugin/?idea_ce&pluginId=7157 插件源码地址:http ...
分类:移动开发   时间:2020-07-06 18:02:18    阅读次数:80
Javascript 箭头函数,大括号与return的省略问题
参考官方文档:https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Functions/Arrow_functions 其中说: // 当箭头函数的函数体只有一个 `return` 语句时,可以省略 `return` 关键 ...
分类:编程语言   时间:2020-07-06 13:13:50    阅读次数:129
268. Missing Number
Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. 给n个不同的数,求0-n这n+1个数里缺了哪个 利用异或运算的性 ...
分类:其他好文   时间:2020-07-06 12:45:24    阅读次数:55
shell-脚本_防火墙规则的简单应用
脚本源码:#!/bin/bashecho_caidan() {# 清空防火墙规则read -ep "是否清空防火墙规则(y/n):" nameif [ $name == y ];then iptables -F echo " 1) 放行端口 2) 封锁端口 3) 放行ip 4) 封锁ip "else... ...
分类:系统相关   时间:2020-07-06 11:04:21    阅读次数:99
习题8-8 判断回文字符串 (20分)
本题要求编写函数,判断给定的一串字符是否为“回文”。所谓“回文”是指顺读和倒读都一样的字符串。如“XYZYX”和“xyzzyx”都是回文。 函数接口定义: bool palindrome( char *s ); 函数palindrome判断输入字符串char *s是否为回文。若是则返回true,否则 ...
分类:其他好文   时间:2020-07-05 17:13:19    阅读次数:61
JavaScript 数组迭代方法
数组迭代方法对每个数组项进行操作。 Array.forEach() forEach() 方法为每个数组元素调用一次函数(回调函数)。 实例 var txt = ""; var numbers = [45, 4, 9, 16, 25]; numbers.forEach(myFunction); fun ...
分类:编程语言   时间:2020-07-05 15:41:09    阅读次数:61
Weekly Contest 196
周赛地址(英):weekly contest 196 周赛地址(中):第 196 场周赛 仓库地址:week-Leetcode 1502. Can Make Arithmetic Progression From Sequence Given an array of numbers arr. A s ...
分类:其他好文   时间:2020-07-05 13:51:11    阅读次数:57
B1044/A1100:Mars Numbers (20)
题意:字符串与数字的13进制转换 AC代码 方法一:循环方式存入 13 * 13 个数后输出 1 #include<bits/stdc++.h> 2 using namespace std; 3 string unit[] = {"tret", "jan", "feb", "mar", "apr", ...
分类:其他好文   时间:2020-07-04 13:50:47    阅读次数:65
295. Find Median from Data Stream
package LeetCode_295 import java.util.* /** * 295. Find Median from Data Stream * https://leetcode.com/problems/find-median-from-data-stream/descripti ...
分类:其他好文   时间:2020-07-04 01:10:12    阅读次数:49
167. Two Sum II - Input array is sorted
Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function ...
分类:其他好文   时间:2020-07-03 21:49:23    阅读次数:77
9163条   上一页 1 ... 12 13 14 15 16 ... 917 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!