该文被密码保护。 阅读全文
posted @ 2023-07-07 14:41 Echo宝贝儿 阅读(12) 评论(0) 推荐(0) 编辑
摘要: Faiss的ivfPQfs索引方法的recall有两种: 一种是Faiss提供的R@k,指的是搜索得到k个点,包含groundtruth中top-1的queries占查询个数的比例 另一种是我们通常使用的recall,recall@k指搜索得到的k个点中与groundtruth的前k个点重合的比例 阅读全文
posted @ 2024-03-11 09:50 Echo宝贝儿 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 1. 初始化Git仓库 git init 2. 将文件添加到暂存区 git add filename git add . #添加本目录中所有文件 3. 提交更改 git commit -m "Your commit message here" 写一个有意义的提交信息 4. 复制仓库的HTTPS或者S 阅读全文
posted @ 2023-10-19 10:03 Echo宝贝儿 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 1. CudaCHPre2D: A straightforward preprocessing approach for accelerating 2D convex hull computations on the GPU 2020; CCF C; Concurrency and Computat 阅读全文
posted @ 2023-09-25 08:54 Echo宝贝儿 阅读(46) 评论(0) 推荐(0) 编辑
摘要: -DCMAKE_BUILD_TYPE=Debug和Release有什么区别 -DCMAKE_BUILD_TYPE 是用于指定 CMake 构建类型的 CMake 变量。它有两个常见的值,即 "Debug" 和 "Release",它们分别用于在构建 C++/C 项目时指定不同的构建类型。 区别如下: 阅读全文
posted @ 2023-04-11 16:39 Echo宝贝儿 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 1. 内存拷贝 //重新排序points thrust::device_ptr<unsigned int> rank_ptr_points;//新建一个指针 allocThrustDevicePtr(&rank_ptr_points, state.numPoints);//给指针申请空间,大小为st 阅读全文
posted @ 2023-03-13 11:35 Echo宝贝儿 阅读(69) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-03-25 14:59 Echo宝贝儿 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 实验一:直线与画圆算法 实验目的: 掌握画线画圆原理,理解几何数据如何经过一系列变换后转化为像素从而呈现在显示设备上。 基本要求: 实现DDA和Bresenham画线算法。(80%) 实现画圆算法。(90%) 请勿直接调用OpenGL库中提供的绘制线段和圆的函数,需手动模拟如何通过绘制像素来显示几何 阅读全文
posted @ 2021-09-29 16:48 Echo宝贝儿 阅读(191) 评论(0) 推荐(0) 编辑
摘要: :loop data.exe //制造数据的 AC.exe //用来对拍的(std什么的) WA.exe //需要进行对拍的 fc AC.out WA.out if %errorlevel%==0 goto loop pause 阅读全文
posted @ 2021-05-19 20:01 Echo宝贝儿 阅读(108) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <cstdio> #include <cstring> #include <algorithm> #define maxn 100010 using namespace std; struct node{ int x,y,z; }e[maxn 阅读全文
posted @ 2021-04-08 16:20 Echo宝贝儿 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 1.摆放垃圾桶 题目描述 滨海公园旁边新铺了一条路,把这条路分成n段,依次编号为1…n。为了防止游客把垃圾扔到海里,war要在路上放一些垃圾桶🚮。政府提出了m个要求,每个要求包含三个整数l,r,k,表示路段l到r之间至少有k个垃圾桶 。垃圾桶放太多不仅浪费资源,也影响风景,所以每个路段至多可以放一 阅读全文
posted @ 2021-03-25 17:07 Echo宝贝儿 阅读(41) 评论(0) 推荐(0) 编辑
摘要: CSP 202009-1 #include <iostream> #include <cstdio> #include <algorithm> using namespace std; int n,X,Y,x,y; struct node{ int dis,id; bool operator < ( 阅读全文
posted @ 2021-03-07 14:37 Echo宝贝儿 阅读(82) 评论(0) 推荐(0) 编辑
摘要: CSP202012-1 #include<iostream> #include<cstdio> using namespace std; int main(){ int n,ans=0,w,s; scanf("%d",&n); for(int i=1;i<=n;i++){ scanf("%d%d", 阅读全文
posted @ 2021-03-02 17:38 Echo宝贝儿 阅读(117) 评论(0) 推荐(0) 编辑
摘要: A.校园活动 链接:https://ac.nowcoder.com/acm/contest/10845/A来源:牛客网牛牛中学为了给本校的OIer放松心情,决定举报一场校园活动。 现在学校的共有 个OIer,学校想把他们分为一些小组进行一个团队游戏。学校先了解了一下每个同学对这个团队游戏的了解程度。 阅读全文
posted @ 2021-02-18 17:24 Echo宝贝儿 阅读(158) 评论(0) 推荐(0) 编辑
摘要: ubuntu用python启动python3 在命令行输入,代表新建了一个名为python的链接 sudo ln -s /usr/bin/python3 /usr/bin/python 阅读全文
posted @ 2020-12-15 20:11 Echo宝贝儿 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 1 SET NAMES utf8mb4; 2 SET FOREIGN_KEY_CHECKS = 0; 3 4 -- 5 -- Table structure for administrator 6 -- 7 DROP TABLE IF EXISTS `administrator`; 8 CREATE 阅读全文
posted @ 2020-11-25 14:19 Echo宝贝儿 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 安装软件看这个博客:https://blog.csdn.net/yefcion/article/details/79958252 然后一些功能慢慢补充 1.如何用Ubuntu访问本地的文件夹? 本地的文件夹存储在Ubuntu文件目录下的mnt中,我的路径是C:\Users\我的用户名\AppData 阅读全文
posted @ 2020-11-11 11:18 Echo宝贝儿 阅读(871) 评论(0) 推荐(0) 编辑
摘要: 1-6 insert into test1_student_course values( '200800020101','300002',92.6,'100102', to_date('20090715101010','yyyymmdd hh24:mi:ss') ) 2-1 create or re 阅读全文
posted @ 2020-09-22 08:25 Echo宝贝儿 阅读(48) 评论(0) 推荐(0) 编辑
摘要: 实验一-递归 #include<iostream> using namespace std; int ans; void dfs(int pos,int n,int *a,int *b){ if(pos>n){ int ans_now=0,num=0; for(int i=1;i<=n;i++) i 阅读全文
posted @ 2020-09-16 19:39 Echo宝贝儿 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 一、最大流 1.网络流是带反悔的贪心,先求出一个当前的可行流,再寻找增广路进行增广(其实就是再找新的路多输出一点流量)。为了实现网络流的增广,需要给每条边都建一个反向边,有大小为delta的流进入这条边时,这条边的容量-delta,其反向边的容量+delta。 这样做的原理是斜对称性。x向y流了fl 阅读全文
posted @ 2020-07-11 17:06 Echo宝贝儿 阅读(276) 评论(3) 推荐(1) 编辑
摘要: 是lzh学长讲过以后,又看了小迪的博客,才学会的fft 小迪这个博客太推荐了,一学就会https://www.cnblogs.com/RabbitHu/p/FFT.html 模板 #include<iostream> #include<cstdio> #include<cstring> #inclu 阅读全文
posted @ 2020-07-09 11:48 Echo宝贝儿 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 2019 ICPC Asia Taipei-Hsinchu Regional 阅读全文
posted @ 2020-07-06 23:32 Echo宝贝儿 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 2018-2019 ICPC Northwestern European Regional Programming Contest (NWERC 2018) 阅读全文
posted @ 2020-07-05 21:13 Echo宝贝儿 阅读(197) 评论(0) 推荐(0) 编辑
摘要: International Collegiate Programming Contest, Egyptian Collegiate Programming Contest (ECPC 2018) 阅读全文
posted @ 2020-07-04 18:25 Echo宝贝儿 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 昨天多校训练在牛客组队,看到有个一战到底编程挑战,有些好奇就进去看看,做出来俩,都是模拟,第三个是动态规划,看了看没思路就走了,4号早晨起来补了一下。 (有几个latex公式我暂时不太会搞,写出来可能看着有点蠢,见谅) 1.简单题(重要极限+快速幂) 解:题目中的O就是常见的重要极限$lim_{x\ 阅读全文
posted @ 2020-07-04 10:05 Echo宝贝儿 阅读(202) 评论(0) 推荐(1) 编辑
摘要: 2016CCPC东北地区大学生程序设计竞赛 - 重现赛 阅读全文
posted @ 2020-07-02 21:24 Echo宝贝儿 阅读(283) 评论(0) 推荐(0) 编辑
摘要: D. Enchanted Artifact time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output This is an interact 阅读全文
posted @ 2020-02-22 11:31 Echo宝贝儿 阅读(205) 评论(2) 推荐(0) 编辑
摘要: D. Shortest Cycle time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given nn intege 阅读全文
posted @ 2020-02-14 10:40 Echo宝贝儿 阅读(212) 评论(0) 推荐(0) 编辑
摘要: D. Strange Device time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output This problem is interac 阅读全文
posted @ 2020-02-12 11:01 Echo宝贝儿 阅读(201) 评论(0) 推荐(0) 编辑
摘要: B. Interesting Subarray time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output For an array aa  阅读全文
posted @ 2020-02-12 10:34 Echo宝贝儿 阅读(196) 评论(0) 推荐(0) 编辑
摘要: C. Make Good time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Let's call an array a1,a2,… 阅读全文
posted @ 2020-02-11 23:29 Echo宝贝儿 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 给出n个点,求是否存在一条直线,使得落在直线上的点占所有点的p%以上。 n<=100000 2<=p<=100 #include<iostream> #include<cstdio> #include<cstring> #include<ctime> #include<cstdlib> #defin 阅读全文
posted @ 2020-02-11 23:17 Echo宝贝儿 阅读(354) 评论(0) 推荐(0) 编辑
摘要: E. And Reachability time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Toad Pimple has an a 阅读全文
posted @ 2020-02-11 11:41 Echo宝贝儿 阅读(450) 评论(0) 推荐(0) 编辑
摘要: E. Little Artem and Time Machine time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Little 阅读全文
posted @ 2020-02-11 00:27 Echo宝贝儿 阅读(229) 评论(0) 推荐(0) 编辑
摘要: The Travelling Salesman spends a lot of time travelling so he tends to get bored. To pass time, he likes to perform operations on numbers. One such op 阅读全文
posted @ 2020-02-10 23:42 Echo宝贝儿 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 现在有一个字符串,你需要用ai的钱去掉这个字符串的第i个位置的字符。现在要使得该字符串中不包含子序列hard。求最小钱数输入第一行一个整数n表示字符串的长度(1<=n<=100000)。 第二行一个给定的字符串。 第三行n个整数a1,a2,a3,...,an(1<=ai<=998244353)。输出 阅读全文
posted @ 2020-02-10 23:32 Echo宝贝儿 阅读(239) 评论(0) 推荐(0) 编辑
摘要: D. Aerodynamic time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Guy-Manuel and Thomas are 阅读全文
posted @ 2020-02-10 11:02 Echo宝贝儿 阅读(270) 评论(0) 推荐(0) 编辑
摘要: D. Irreducible Anagrams time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Let's call two s 阅读全文
posted @ 2020-02-03 10:21 Echo宝贝儿 阅读(214) 评论(0) 推荐(0) 编辑
摘要: D. Bear and Tower of Cubes time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Limak is a li 阅读全文
posted @ 2020-02-01 21:27 Echo宝贝儿 阅读(148) 评论(0) 推荐(0) 编辑
摘要: D. Vanya and Treasure time limit per test 1.5 seconds memory limit per test 256 megabytes input standard input output standard output Vanya is in the 阅读全文
posted @ 2020-02-01 21:13 Echo宝贝儿 阅读(193) 评论(0) 推荐(0) 编辑