ICode9

精准搜索请尝试: 精确搜索
  • setsockopt与getsockopt2020-01-21 19:41:28

    函数: #include <sys/types.h> #include <sys/socket.h> int getsockopt(int sock, int level, int optname, void *optval, socklen_t *optlen); int setsockopt(int sock, int level, int optname, const void *optval, socklen_t optlen); 参数释义: sock:网络文件描述符

  • ENS 域名注册表智能合约(ENSRegistry.sol)解析2020-01-12 10:53:40

    ENS 注册表合约是 ENS 系统中的核心合约,了解这个合约可以敲开我们理解 ENS 域名系统的大门。 打开下面的折叠区域可以查看用 Solidity 语言编写的详细代码。当前部署在以太坊中的 ENS 注册表合约是用 LLL 语言编写的(ENS 最早采用 LLL 语言的原因),但因为 LLL 语言的可读性很差,于是 E

  • 算法:迷宫问题2019-12-26 22:57:12

    一、迷宫问题介绍   给定一个方阵表示迷宫,其中 1 表示能走的路,0 为障碍或走不通(死胡同),迷宫左上为出发点,迷宫右下角为终点。在迷宫中的移动方式只能横着走或竖着走,不能斜着走,找出冲出发点到达出口有效路径的迷宫(maze problem)问题。 二、回溯法简单求解   给定迷宫:   迷宫的

  • HDU 2955 01背包2019-10-10 19:55:35

    题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=2955 题意:抢银行,求不被抓的情况下抢的最多的钱是多少。 思路:找到每一种能抢的钱的被抓概率,不被抓且钱最多的就是了。 AC代码: 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <algorithm> 5 usi

  • MATLAB数值计算——02019-09-26 15:53:41

    目录 MATLAB数值计算 1.solve() 2.fzero() 3.fsolve() MATLAB数值计算 MATLAB中文论坛基础板块常见问题归纳(出处: MATLAB中文论坛) 登录http:www.mathworks.com/moler 获取NCM文件,注册账户,下载Toolbox格式,点击安装——在MATLAB中输入ncmgui出现图案即为success!(pathtool

  • (Easy) BackTracking- Rat in a Maze. LeetCode2019-08-30 15:51:01

    Description: A Maze is given as N*N binary matrix of blocks where source block is the upper left most block i.e., maze[0][0] and destination block is lower rightmost block i.e., maze[N-1][N-1]. A rat starts from source and has to reach the destination. Th

  • 「2019纪中集训Day17」解题报告2019-08-17 22:02:47

    T1、倾斜的线 \(Sol\): \(Source\): T2、最小值 \(Sol\): \(Source\): T3、安排 \(Sol\): \(Source\):

  • R语言与概率统计(三) 多元统计分析2019-07-10 14:50:23

    > #############6.2一元线性回归分析> x<-c(0.10,0.11,0.12,0.13,0.14,0.15,0.16,0.17,0.18,0.20,0.21,0.23)> y<-c(42.0,43.5,45.0,45.5,45.0,47.5,49.0,53.0,50.0,55.0,55.0,60.0)> plot(x~y)> lm.sol<-lm(y ~ x)> summary(lm.sol)Call:lm(formula = y ~

  • Go语言打造以太坊智能合约测试框架(level2)2019-04-09 21:48:00

    传送门: 柏链项目学院 第二课 智能合约自动化编译 前期内容回顾 之前我们的介绍的是如何通过solc编译智能合约,并且调用智能合约,本节我们继续实践,将智能合约的代码自动化编译以及abi文件生成搞定。 我们需要掌握什么技能呢? go语言调用命令行 toml配置文件处理 awk工具的使用 go

  • 103. Binary Tree Zigzag Level Order Traversal2019-03-15 14:52:38

    Solution 1: public class Solution {     public List<List<Integer>> zigzagLevelOrder(TreeNode root) {         List<List<Integer>> sol = new ArrayList<>();         travel(root, sol, 0);         return sol;     }          pri

  • Arduino无源蜂鸣器实验:祝你生日快乐2019-03-07 22:03:27

    #define Do 262 #define Re 294 #define Mi 330 #define Fa 349 #define Sol 392 #define La 440 #define Si 494 #define Do_h 523 #define Re_h 587 #define Mi_h 659 #define Fa_h 698 #define Sol_h 784 #define La_h 880 #define Si_h 988 int

  • 【WC2018】即时战略2019-01-31 17:37:46

    动态淀粉质即可   #include "rts.h" #include<algorithm> #include<unordered_map> #include<cstdlib> #include<ctime> #include<map> const int maxn = 300300; int per[maxn],vis[maxn]; typedef long long ll; std::map<int,int>

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有