![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CCF
WF19980719
这个作者很懒,什么都没留下…
展开
-
CCF2020.06第一二题总结
#include <iostream> using namespace std; int n, m; //出现的问题:输入的时候p1n++重复; //while (scanf_s("%d %d %d", &q0, &q1, &q2) != EOF)没有深刻了解这个原理 struct point { int x; int y; char t; //默认构造函数初始化 point (int x_,int y_,char t_):x(x_),y(y_),t(t_){}原创 2020-08-17 22:05:55 · 425 阅读 · 0 评论 -
CCF2019-12-2回收站选址-STL扩展思路
// map实现回收站选址.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // //#include<bits/stdc++.h> #include <iostream> #include<set> using namespace std; struct node { int x, y; //有参构造函数 node(int _x, int _y) :x(_x), y(_y) { }; //重载小于运算符原创 2020-06-07 18:35:48 · 190 阅读 · 0 评论