@Test void contextLoads() { String str ="!dasd_asda_dasjdlkaj"; System.out.println(a(str)); } //截取字符串 转换大写并且输出 String a(String name) { String[] str= { ...
分类:
其他好文 时间:
2021-04-07 11:18:46
阅读次数:
0
题目大意 给n个学生的邮箱地址和成绩 和成绩分界点g 名人堂人数k 统计总共发多少奖学金 按要求输出名人堂(成绩从大到小 一样成绩的话按字典序输出) 代码 #include<bits/stdc++.h> using namespace std; struct Node { string s; int ...
分类:
其他好文 时间:
2021-04-07 11:06:05
阅读次数:
0
static关键字 public class OOPDemo01 { //2:赋初值 { System.out.println("匿名代码块"); } //1:只执行一次 static{ System.out.println("静态代码块"); } //3 public OOPDemo01(){ S ...
分类:
其他好文 时间:
2021-04-07 10:49:07
阅读次数:
0
信号发送 kill 和 raise函数 kill函数参数详解: 实验1 raise和kill 的使用 #include <stdio.h> #include <signal.h> #include <unistd.h> #include <stdlib.h> #include <sys/wait.h ...
分类:
其他好文 时间:
2021-04-06 15:18:50
阅读次数:
0
注释 单行注释 //+注释eg://sout是输出语句System.out.println();的快捷输入法 多行注释 /* 注释 */eg:/* 多行注释 多行注释 多行注释 */ 文档注释 /** JavaDoc */和JavaDoc联合使用,一般进大公司用得着。 ...
分类:
编程语言 时间:
2021-04-06 15:07:48
阅读次数:
0
function func1(a, b, c) { console.log(arguments); console.log(arguments[0]); // expected output: 1 console.log(arguments[1]); // expected output: 2 co ...
分类:
其他好文 时间:
2021-04-06 15:01:27
阅读次数:
0
MySQLdb._exceptions.OperationalError: (2026, 'SSL connection error: unknown error number') 问题发生在我远程连接数据库的时候,我使用的是MySQLdb 但是一直报错 连接我自己的数据库是没有问题的 *原因是 p ...
分类:
数据库 时间:
2021-04-06 14:59:26
阅读次数:
0
一、类型转换 由于java是强类型语言。所以要进行有些运算的时候,需要用到类型转换。 低——————————————————————————>高 byte,short,char ——> int ——> long ——> float ——> double 运算中,不同类型的数据先转化为同一类型,然后进 ...
分类:
编程语言 时间:
2021-04-06 14:46:00
阅读次数:
0
LeetCode第235场周赛题解 截断句子 按照题目要求模拟即可,把单词读入到vector中,然后按要求拼接即可 class Solution { public: string truncateSentence(string s, int k) { vector<string> a; string ...
分类:
其他好文 时间:
2021-04-06 14:34:00
阅读次数:
0
realsense cmake Selecting Windows SDK version to target Windows 10.0.19042. Checking internet connection... Internet connection identified Info: REALS ...
分类:
其他好文 时间:
2021-04-06 14:23:36
阅读次数:
0