码迷,mamicode.com
首页 >  
搜索关键字:read case while    ( 57414个结果
if,switch选择结构,while,do......while循环结构
顺序语句 案例 package com.bk201.struct; public class ShunXuDemo { public static void main(String[] args) { System.out.println("H"); System.out.println("e"); ...
分类:其他好文   时间:2021-03-10 13:13:09    阅读次数:0
xxx.java:1: 错误: 类xxx是公共的, 应在名为 xxx.java 的文件中声明 public class xxx
在学习过程中敲如下的一段代码: public class example4{ public static void main(String[] args){ int n=9; while(n>6){ System.out.println("n = "+n); n--; } } } 文件名为 exam ...
分类:编程语言   时间:2021-03-09 13:56:20    阅读次数:0
Sequence Read Archive (SRA)
The Sequence Read Archive (SRA) is an archive for high throughput sequencing data, publically accessible, for the purpose of enhancing reproducibility ...
分类:其他好文   时间:2021-03-09 13:32:55    阅读次数:0
1332. Remove Palindromic Subsequences (E)
Remove Palindromic Subsequences (E) 题目 Given a string s consisting only of letters 'a' and 'b'. In a single step you can remove one palindromic subseq ...
分类:其他好文   时间:2021-03-09 13:26:40    阅读次数:0
AGC052 B - Tree Edges XOR Editorial
题目:B - Tree Edges XOR 题目描述: 给你一棵$n$个点、$n-1$条边的树,树上每条边的边权$w_{1}$和期望边权$w_{2}$均已知($w_{2}$不是$w_{1}$平方的意思),你可以进行以下操作 选择一条边$(a,b)$,记这条边现在的权值为$w$,那么与这条边相邻的所有 ...
分类:其他好文   时间:2021-03-09 13:22:27    阅读次数:0
13-
1-求 1000 以内所有质数的和 var f = false;var i = 2;var j = 2;var n = 0;while (i < 1000) {f = true;while (j <= i/2){if (i % j == 0){f = false;break;}j++;} if (f ...
分类:其他好文   时间:2021-03-09 12:53:40    阅读次数:0
pdf如何转为base64位数据
1、借助<input type="file" />标签上传PDF文件; 2、创建FileReader方法,var reader = new FileReader(); 3、执行reader.onload = function(){console.log(reader.result)}; 4、执行re ...
分类:其他好文   时间:2021-03-08 14:06:20    阅读次数:0
双指针 四数之和
题目 LeetCode 18. 四数之和 给定一个包含 n 个整数的数组 nums 和一个目标值 target,判断 nums 中是否存在四个元素 a,b,c 和 d ,使得 a + b + c + d 的值与 target 相等?找出所有满足条件且不重复的四元组。 注意: 答案中不可以包含重复的四 ...
分类:其他好文   时间:2021-03-08 13:46:39    阅读次数:0
Core Python | 2 - Core Python: Getting Started | 2.6 - Objects and Types | 2.6.4 - Python's Type System
Programming languages can be distinguished by several characteristics, but one of the most important is the nature of their type system. Python could ...
分类:编程语言   时间:2021-03-08 13:34:24    阅读次数:0
LeetCode 344. 反转字符串
思路 方法:首尾双指针 1 class Solution { 2 public: 3 void reverseString(vector<char>& s) { 4 int i = 0, j = s.size()-1; 5 while(i < j) { 6 swap(s[i], s[j]); 7 + ...
分类:其他好文   时间:2021-03-08 13:22:36    阅读次数:0
57414条   上一页 1 ... 53 54 55 56 57 ... 5742 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!