码迷,mamicode.com
首页 >  
搜索关键字:while read line for ifs    ( 74720个结果
(STM32) Internal Flash Access
Introdution STM32Fxxx 系列的MCU, 似乎有分類成 low-, medium-, high-, XL-density 4種不同Flash大小的產品。 個人是常常忘記所以在此筆記。 Flash : 通常放置程式碼, const常數變數, 掉電資料不消失。 存取速度較慢 RAM : ...
分类:数据库   时间:2021-02-18 13:22:05    阅读次数:0
高斯消元解异或线性方程组(高斯消元,模板)
题意 $a_$以及$b_i$都是$0/1$ 方法 异或运算可以看成是不进位的加法,因此直接高斯消元即可 代码 #include <iostream> #include <cstdio> #include <cstring> using namespace std; const int N = 110 ...
分类:其他好文   时间:2021-02-18 13:19:39    阅读次数:0
IDEA基本操作
psvm或者main main方法 sout --system.out 输出 ctrl+鼠标左键,进入类 左侧structure,查看类的结构,方法 tools --generate javadoc --other command line arguments:-encoding utf-8 -ch ...
分类:其他好文   时间:2021-02-18 13:17:46    阅读次数:0
C#控制台输出彩色文字
参考开源项目:https://github.com/tomakita/Colorful.Console 首先通过NuGet安装Colorful.Console。 基本用法如下: using System; using System.Drawing; using Console = Colorful. ...
分类:Windows程序   时间:2021-02-18 13:17:30    阅读次数:0
解决C++编译程序后闪退的方法
解决C++编译程序后闪退的方法 1)在return 0;前添加一条while(1); 2)编译不直接用F5,而是Ctrl+F5。 以上两种方法皆可解决。 ...
分类:编程语言   时间:2021-02-18 13:15:50    阅读次数:0
02_流程控制
1 2 条件判断 3 4 7. 使用 IF ... THEN ... ELSIF ... THEN ...ELSE ... END IF; 5 6 要求: 查询出 150号 员工的工资, 若其工资大于或等于 10000 则打印 'salary >= 10000'; 7 若在 5000 到 10000 ...
分类:其他好文   时间:2021-02-18 13:15:11    阅读次数:0
Sheel 脚本接收键盘输入
一、通过read 接收 1. 通过vim 定义一个test.sh的脚本 vim test.sh 2. 编写shell脚本 #! /bin/bash read name echo "$name It is a test" 3. 添加脚本执行权限 chmod +x test.sh 4. 执行脚本 [ro ...
分类:其他好文   时间:2021-02-18 13:13:07    阅读次数:0
POJ3784 Running Median 题解
题目描述 For this problem, you will write a program that reads in a sequence of 32-bit signed integers. After each odd-indexed value is read, output the m ...
分类:其他好文   时间:2021-02-18 13:06:04    阅读次数:0
【YBTOJ】不交回文串
题目大意: 给定字符串 \(S\),求有多少对不相交的回文串。 对于 \(100\%\) 的数据,\(1 \leq |S| \leq 10 ^ 5\)。 正文: 设 \(pre_i,suf_i\) 分别表示以 \(i\) 为开头的回文串的个数和以 \(i\) 为结尾的回文串的个数,那么答案就是: \ ...
分类:其他好文   时间:2021-02-18 12:59:05    阅读次数:0
leetcode1539 第k个缺失的正整数
思路1: 暴力枚举。 实现1: 1 class Solution 2 { 3 public: 4 int findKthPositive(vector<int>& arr, int k) 5 { 6 int n = arr.size(); 7 vector<int> cnt(2001, 0); 8 ...
分类:其他好文   时间:2021-02-18 12:54:30    阅读次数:0
74720条   上一页 1 ... 79 80 81 82 83 ... 7472 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!