码迷,mamicode.com
首页 >  
搜索关键字:const    ( 26295个结果
个人所得税计算系统
Windows系统,C语言个人所得税计算系统。 1 #include <stdio.h> 2 3 #include <windows.h> 4 5 int main() 6 7 { const int ZBB=5000; 8 9 const float Ctaxrate0=0; 10 11 cons ...
分类:其他好文   时间:2021-06-02 19:31:27    阅读次数:0
广度优先遍历多叉树
广度优先遍历多叉树 层序遍历多叉树,判断是否有等于给定值target的结点 给定多叉树: const root = { value: 4, children: [{ value: 2, children: [{ value: 1, children: [] }, { value: 3, childr ...
分类:其他好文   时间:2021-06-02 18:13:29    阅读次数:0
C++ 相关积累
编译器为class A{}生成的函数 1 class A 2 { 3 public: 4 A(); //缺省构造函数 5 A(const A&rhs); //拷贝构造函数 6 ~A(); //析构函数 7 A& operator=(const A&rhs); //赋值运算符 8 A* operato ...
分类:编程语言   时间:2021-06-02 18:11:51    阅读次数:0
dik
#include<bits/stdc++.h> using namespace std; const int N = 200000,Inf=0x7fffff; struct edge{ int u,v,w; edge(int a,int b,int c){ u=a,v=b,w=c; } }; vec ...
分类:其他好文   时间:2021-06-02 17:40:23    阅读次数:0
nodeJs爬取网络图片
const cheerio = require("cheerio") const axios = require("axios") const fs = require("fs") if (!fs.existsSync("download")) { fs.mkdirSync("download", ...
分类:Web程序   时间:2021-06-02 17:04:51    阅读次数:0
换根dp
#include <iostream> #include <vector> using namespace std; using ll = long long ; const int N=2e5+10; ll f[N],g[N],size1[N]; vector<int>gg[N]; void df ...
分类:其他好文   时间:2021-06-02 17:01:29    阅读次数:0
node 连接MySql数据库 实现数据的CRUD
1,准备工作: 安装MySQL2 驱动(库名称为mysql2 ): npm install mysql2 2,编写js代码: 2-1,数据库 查询 数据js代码 const mysql = require('mysql2') const connection = mysql.createConnec ...
分类:数据库   时间:2021-06-02 17:00:22    阅读次数:0
dd爱框框
dd爱框框 一道思维题,画过转换图之后会发现最多会出现四种矩阵,那么只需要判断最后是哪一种就好了。 同时对于连续的直接去重,因为两个连续相同的等于不操作。 #include <bits/stdc++.h> using namespace std; const int N = 1010; int a[ ...
分类:其他好文   时间:2021-06-02 16:40:21    阅读次数:0
CF 580E Kefa and Watch
#include<bits/stdc++.h> #define ull unsigned long long using namespace std; const int N=1000011; const ull St=233,M1=1000000007,M2=1000000009; int n,m ...
分类:其他好文   时间:2021-06-02 16:00:05    阅读次数:0
[ AGC006 D ] Median Pyramid Hard
题目 Atcoder 思路 代码 #include <iostream> using namespace std; const int N = 200010; int n, m, a[N], b[N]; int check(int mid) { for (int i = 1; i <= n * 2 ...
分类:其他好文   时间:2021-06-02 15:33:04    阅读次数:0
26295条   上一页 1 ... 10 11 12 13 14 ... 2630 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!