1 uchar c; 2 c=8; 3 if(num%2==0) 4 c=7; 5 if(n>=8&&temp!=255) 6 n=n-c; //2 为7 3 为8 4 为7 5为8 7 temp+=pow(2,n); 8 n+=num; 9 P1=~temp; 10 delay(200); 这是点 ...
分类:
其他好文 时间:
2020-04-13 19:48:27
阅读次数:
66
假设条件:我们有m个样本,每个样本有n个特征。我们的目的是通过神经网络的训练,使模型能够识别每张图片是否是指定的图像。 首先每个样本有n个特征值,我们的最终模型需要包含n个w,1个b。模型通过公式temp=wx,计算每一个特征值的temp的值,最后累加,这里的每个x特征值都对应一个自己的w。最后加上 ...
分类:
编程语言 时间:
2020-04-13 16:42:55
阅读次数:
87
1.Flask Web框架 + Flask flask库文件 + Jinja2 模板渲染库 + MarkupSafe 返回安全标签 + Werkzeug 德文“工具” ==uWSGI 底层是WSGI 2.Flask中的Response + “HelloWorld” 相当于Django中HttpRes ...
分类:
其他好文 时间:
2020-04-13 14:03:26
阅读次数:
92
之前总结过,大数问题,取模就是取商取余数; #include<iostream> #include<stdlib.h> #include<string> using namespace std; string devide(int& r, string s, int n) { string ss = ...
分类:
其他好文 时间:
2020-04-12 22:25:50
阅读次数:
63
#include<stdio.h>intmain(){doubleeps,sum=1,i,temp=1;scanf("%le",&eps);for(i=1;temp>eps;i++){temp=temp*i/(2*i+1);sum+=temp;}printf("PI=%.5f\n",2*sum);return0;}
分类:
其他好文 时间:
2020-04-12 18:29:58
阅读次数:
62
[护网杯 2018]easy_tornado 打开之后看到几个文件夹分别提示 /flag.txt flag in /fllllllllllllag /welcome.txt render /hints.txt md5(cookie_secret+md5(filename)) 尝试对file传参跳到 ...
分类:
其他好文 时间:
2020-04-12 16:30:07
阅读次数:
108
1 //简单题 2 class Solution 3 { 4 public: 5 vector<string> summaryRanges(vector<int>& nums) 6 { 7 vector<string> res; 8 if(nums.empty()) return res; 9 ve ...
分类:
其他好文 时间:
2020-04-12 12:45:57
阅读次数:
49
1 /** 2 * Definition for a binary tree node. 3 * struct TreeNode { 4 * int val; 5 * TreeNode *left; 6 * TreeNode *right; 7 * TreeNode(int x) : val(x), ...
分类:
其他好文 时间:
2020-04-11 18:56:31
阅读次数:
87
1.文件夹介绍bin 专门用来存放 Tomcat 服务器的可执行程序conf 专门用来存放 Tocmat 服务器的配置文件lib 专门用来存放 Tomcat 服务器的 jar 包logs 专门用来存放 Tomcat 服务器运行时输出的日记信息temp 专门用来存放 Tomcdat 运行时产生的临时数 ...
分类:
其他好文 时间:
2020-04-11 13:24:43
阅读次数:
97
父组件向子组件传递数据 // 父组件传递 <dialogAttendee :dialogcascaderVisible="dialogcascaderVisible"></dialogAttendee> // 子组件接接收 props:{ dialogcascaderVisible: { type: ...
分类:
其他好文 时间:
2020-04-10 12:02:50
阅读次数:
73