打开cmd的方式 1.开始+系统+命令提示符 2.win键+r 输入cmd打开控制台(推荐使用) 3.在任意文件夹下面,按住shift+鼠标右键点击,在此处打开命令行窗口 4.资源管理器的地址栏前面加上cmd路径 5.选择以管理员方式运行 常用的dos命令 #盘符切换#查看当前目录下的所有文件 di ...
分类:
其他好文 时间:
2021-07-05 16:52:58
阅读次数:
0
处理输入,bag[i]是以i为右界的左界集合 for(int i=0;i<n;i++){ int x,y; cin>>x>>y; bag[y].pushback(x); } dp[i]是第i个bag的时候不重复的最大草数,为每一个bag[i]的x判断找出最大值 dp[i]=max(dp[i],dp[ ...
分类:
其他好文 时间:
2021-07-05 16:51:04
阅读次数:
0
namespace 解析数字开头的变量JSON { class Program { static void Main(string[] args) { string strJson = "{\"1st_attempt\":\"2021-02-09 16:32:15\",\"2nd_attempt\" ...
文件上传 新建一个项目,添加UploadController @RestController public class UploadController { @PostMapping("upload") public String post(@RequestParam("file") Multipa ...
分类:
Web程序 时间:
2021-07-05 16:40:02
阅读次数:
0
Form2 namespace WindowsFormsApp1 { //定义委托 public delegate void Sum(int x, int y); public partial class Form2 : Form { //定义事件 public event Sum sum; pub ...
客户端 1 public static void main(String[] args) throws IOException { 2 3 4 5 // 创建客户端 6 7 SocketChannel sc = SocketChannel.open(); 8 9 10 11 // 指定要连接的服务器 ...
分类:
编程语言 时间:
2021-07-02 16:40:13
阅读次数:
0
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;usi ...
[2021 spring] CS61A Lab 6: Nonlocal, Mutability, Iterators and Generators ...
分类:
编程语言 时间:
2021-07-02 16:21:32
阅读次数:
0
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;usi ...
一、多线程方法一(继承Thread类) package Demo01;//继承线程类Threadpublic class MyThread extends Thread{ //重写 run()方法 @Override public void run() { for (int i = 0; i < 2 ...
分类:
编程语言 时间:
2021-07-02 16:18:56
阅读次数:
0