#include <stdio.h> #include <iostream> #include <windows.h> using namespace std; //定义线程调用函数 DWORD WINAPI ThreadProc(LPVOID lpParamter) { int iRunTime ...
分类:
编程语言 时间:
2020-06-14 12:33:04
阅读次数:
71
/* 直接求多边形面积 */ #include<bits/stdc++.h> using namespace std; typedef double db; const db eps=1e-6; const db pi=acos(-1); int sign(db k){ if (k>eps) ret ...
分类:
其他好文 时间:
2020-06-14 01:20:57
阅读次数:
82
题目 https://www.luogu.com.cn/problem/P1616 题目分析 完全背包 代码 #include<iostream> #include<cstdio> #include<algorithm> using namespace std; int f[10000002], v ...
分类:
其他好文 时间:
2020-06-13 21:40:53
阅读次数:
63
题目 https://www.luogu.com.cn/problem/P1048 题目分析 01背包 代码 #include<iostream> #include<cstdio> #include<algorithm> using namespace std; int f[1001], v[200 ...
分类:
其他好文 时间:
2020-06-13 21:16:29
阅读次数:
51
A - Minimal Square #include <bits/stdc++.h> using namespace std; const int maxn = 1e4+5; int main() { int t; cin >> t; while (t--) { int a, b; cin >> ...
分类:
其他好文 时间:
2020-06-13 21:16:11
阅读次数:
69
题目 https://www.luogu.com.cn/problem/P1802 题目分析 见代码注释 代码 #include<iostream> #include<cstdio> #include<algorithm> using namespace std; long long f[10001 ...
分类:
其他好文 时间:
2020-06-13 21:13:43
阅读次数:
65
图像超分辨率算法:CVPR2020 Unpaired Image Super-Resolution using Pseudo-Supervision 论文地址: http://openaccess.thecvf.com/content_CVPR_2020/papers/Maeda_Unpaired_ ...
分类:
编程语言 时间:
2020-06-13 19:42:19
阅读次数:
703
题目如下: 思路: 1.可能回想着如何把字符串转换为数字 2.其实可以利用c++ 代码如下: #include<cstdio> #include<iostream> using namespace std; int main(){ int a; int sum=0; while(cin>>a) su ...
分类:
其他好文 时间:
2020-06-13 19:41:00
阅读次数:
76
#include <bits/stdc++.h> using namespace std; //左->data<节点->data<右->data struct node{ int data; node *lft, *rht; node(int data):data(data), lft(0),rht ...
分类:
其他好文 时间:
2020-06-13 19:38:50
阅读次数:
80
总时间限制: 1000ms 内存限制: 65536kB描述 平面上有一个大矩形,其左下角坐标(0,0),右上角坐标(R,R)。大矩形内部包含一些小矩形,小矩形都平行于坐标轴且互不重叠。所有矩形的顶点都是整点。要求画一根平行于y轴的直线x=k(k是整数) ,使得这些小矩形落在直线左边的面积必须大于等于 ...
分类:
其他好文 时间:
2020-06-13 17:28:21
阅读次数:
72