A 一共n个人,去a餐厅的有a人,去b餐厅有b人,两个都去的有c人,求没有去的有多少,如果数据不合理或没去的人数少于1,输出-1 #include<bits/stdc++.h> using namespace std; #define ll long long int main() { int n, ...
分类:
其他好文 时间:
2021-02-09 11:44:03
阅读次数:
0
#include<cstdio> #include<iostream> #include<set> #include<algorithm> using namespace std; set<int> s; int main(void) { int R, n; while (cin >> R >> n ...
分类:
其他好文 时间:
2021-02-08 12:52:08
阅读次数:
0
公司的产品需要人脸比对,摄像头相关的需求如下(突然发现除了英文不太好外,实际上中文也不太好,所以直接上一个接口) using System; using System.Drawing; using System.Windows.Media; namespace YK { public enum EC ...
接口描述了类的行为和功能,而不需要完成类的特定实现。 C++ 接口是使用抽象类来实现的,抽象类与数据抽象互不混淆,数据抽象是一个把实现细节与相关的数据分离开的概念。 如果类中至少有一个函数被声明为纯虚函数,则这个类就是抽象类。纯虚函数是通过在声明中使用 "= 0" 来指定的,如下所示: class ...
分类:
编程语言 时间:
2021-02-08 12:07:46
阅读次数:
0
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef double db; ll a, b, c, d; void solve1() { if (a > 0) { puts("(-inf,inf)"); ...
分类:
其他好文 时间:
2021-02-08 12:05:36
阅读次数:
0
因为是Asp.net初学者,照搬网上的例子用到程序中,但是人家的代码中List类型用到了Where方法,为什么我的List的类型中就找不到Where方法呢? 问了万能的度娘,终于找到答案. 原来, 还需要引用Linq命名空间才行. 添加 using System.Linq; 这时,在List类型的变 ...
分类:
其他好文 时间:
2021-02-06 12:18:13
阅读次数:
0
UOJ87 mx的仙人掌 这里没有用传统的方点外接圆点的做法,而是方点虚树上儿子跳到方点所在环上单调队列处理,本质上是一样的. code //爽! #include<bits/stdc++.h> using namespace std; typedef long long ll; const int ...
分类:
其他好文 时间:
2021-02-06 12:15:50
阅读次数:
0
1 #include<iostream> 2 #include<cstdio> 3 #include<cstdlib> 4 #include<algorithm> 5 using namespace std; 6 7 int n,tot,a[1010],c[1010]; 8 9 int main() ...
分类:
其他好文 时间:
2021-02-06 12:13:59
阅读次数:
0
参考: https://ai.googleblog.com/2018/04/mobilenetv2-next-generation-of-on.html https://heartbeat.fritz.ai/real-time-object-detection-using-ssd-mobilenet ...
分类:
Web程序 时间:
2021-02-06 11:59:11
阅读次数:
0
#include <iostream> #include <stdlib.h> using namespace std; typedef int DataType; //使int重命名为DataType DataType flag = 0; //flag是用来判断神魔时候输入数据结束 typedef ...
分类:
其他好文 时间:
2021-02-06 11:52:00
阅读次数:
0