码迷,mamicode.com
首页 >  
搜索关键字:for input string 0    ( 126666个结果
Java_01 经典的HelloWorld
HelloWorld 随便新建一个文件夹,用来存放代码 新建一个Java文件 文件后缀为.java Hello.java 编写代码 public class Hello{ public static void main(String[] args){ System.out.print("Hello, ...
分类:编程语言   时间:2021-05-04 16:25:13    阅读次数:0
Java scanner的使用
scanner scanner 类中的next() , nextLine()方法 package com.study.scanner; import java.util.Scanner; public class a1 { public static void main(String[] args) ...
分类:编程语言   时间:2021-05-04 16:10:05    阅读次数:0
层次打印二叉树
#include<vector> #include<queue> #include<string> #include<binaryNode.hpp> #include<iostream> #include<sstream> template<typename T> class traverse { ...
分类:其他好文   时间:2021-05-04 15:34:11    阅读次数:0
修改官方cubestore 支持minio s3
支持s3是cubestore 一个很不错的特性,可以提高系统的扩展性 参考修改 主要是添加endpoint 以及配置使用path格式请求 s3.rs impl S3RemoteFs { pub fn new( dir: PathBuf, region: String, endpoint:String ...
分类:其他好文   时间:2021-05-04 15:33:00    阅读次数:0
[LeetCode] 1844. Replace All Digits with Characters
You are given a 0-indexed string s that has lowercase English letters in its even indices and digits in its odd indices. There is a function shift(c, ...
分类:其他好文   时间:2021-05-04 15:31:41    阅读次数:0
Hadoop集群管理脚本
这里介绍两个常用的管理hadoop集群的脚本 hadoop集群启停脚本myhadoop.sh #!/bin/bash if [ $# -lt 1 ] then echo "No Args Input..." exit ; fi case $1 in "start") echo " 启动 hadoop ...
分类:其他好文   时间:2021-05-04 15:28:54    阅读次数:0
Java的异常处理机制
接下来我们来说说Java的异常机制。我们还是来看上面那个代码,也就是这个: public static void main(String[] args) { int a = 1; int b = 0; System.out.println(a / b); } 很显然这里并不会执行后面的这句输出语句, ...
分类:编程语言   时间:2021-05-04 15:26:26    阅读次数:0
try-catch捕获异常
具体的操作就是使用try- catch去捕获我们的异常并作出相应处理,具体看代码: public static void main(String[] args) { int a = 1; int b = 0; try { System.out.println(a / b); } catch (Exc ...
分类:其他好文   时间:2021-05-04 15:26:10    阅读次数:0
五一训练礼包—坐标问题
五一训练礼包—坐标问题 Content · 题目回溯 · 题目分析 · 可行代码 · 总结 (一) 题目回溯 PROBLEM DESCRIPTION INPUT OUTPUT EXEMPLE NOTE (二)题目分析 由题可得,OA = n 令 OB = x ,则 AB = n - x ( 0 <= ...
分类:其他好文   时间:2021-05-04 15:21:29    阅读次数:0
[CF914F] Substrings in a String
\(\text{Problem}:\)Substrings in a String \(\text{Solution}:\) 考虑分块,对每个块建出后缀自动机。 修改:暴力重建 \(i\) 所在块的 \(\text{SAM}\)。 查询:分类讨论处理。 若 \(\lvert s\rvert> B\) ...
分类:其他好文   时间:2021-05-04 15:19:13    阅读次数:0
126666条   上一页 1 ... 60 61 62 63 64 ... 12667 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!