ctfshow you and me

Supervised Machine Learning : Regression and Classification

The course is available at : Supervised Machine Learning: Regression and Classification - Week 1: Introduction to Machine Learning - Week 1 | Coursera ......

[Codeforces] CF1536C Diluc and Kaeya

CF1536C Diluc and Kaeya 题意 题目传送门 给你一个字符串 \(S\),其中只包含 'K' 或 'D' 两种字符,要求划分这个字符串使得各部分的 \(n(D):n(K)\) 相同,其中 \(n(D)\) 表示 \(S\) 中字符 'D' 出现的个数,最大化划分后形成的组数。 求 ......
Codeforces 1536C Diluc Kaeya 1536

CF342E Xenia and Tree

题意 给定一棵 \(n\) 个节点的一棵树,初始时 \(1\) 号点为红色,其余为蓝色。 要求支持以下操作: 将一个节点变为红色。 询问节点 \(u\) 到最近红色节点的距离 共 \(q\) 次操作。 Sol 喵喵题。 不难想到点分树做法,不再阐述。 考虑简单的操作分块。 对于块外,可以考虑每做完一 ......
Xenia 342E Tree 342 and

周口 周口职业技术学院 外文名Zhoukou Vocational and Technical College

周口职业技术学院办学历史最早可追溯到1947年2月中国人民解放军豫皖苏军区在郸城吴台镇创办的卫生干部训练班(周口卫生学校的前身)。2001年4月,周口农业学校、沈丘师范学校、周口艺术学校、周口广播电视大学四所学校合并升格为周口职业技术学院。2005年5月西华师范学校并入,2014年9月周口卫生学校整 ......
Vocational Technical Zhoukou College 职业

信阳 信阳农林学院 Xinyang Agriculture and Forestry University 简 称信阳农林·Xinyang A&F University(XYAFU)

信阳农林学院 外文名Xinyang Agriculture and Forestry University 简 称信阳农林·Xinyang A&F University(XYAFU) 历史沿革 1910年(清宣统二年) 学校在私立淮西中等学堂旧址(今汝南县城关)创建,校名为汝宁府中等实业学堂。 19 ......

Shell - Input and run multiple lines in terminal

zzh@ZZHPC:/zdata/Github/zimplebank$ ( > ls -1 db/migration/*.up.sql | while read file > do > echo $file > done > ) db/migration/000000_init_schema.up. ......
multiple terminal Shell Input lines

CF1874E Jellyfish and Hack

题目链接 点击打开链接 题目解法 一个朴素的结论是:\(fun(p)\le \frac{n\times (n+1)}{2}\) 所以可以把 \(lim\) 的范围缩小到 \(\frac{n\times (n+1)}{2}\) 首先可以得到一个简单的 \(O(n^6)\) 做法: 令 \(f_{i,j ......
Jellyfish 1874E 1874 Hack and

SV interface and Program3

时钟域的理解 在仿真过程中,时钟跳变的一瞬间,CPU将时间域划分为不同的时钟域执行不同的代码 信号在芯片中都是金属丝,在进行跳变的时候都是电容的充放电过程,通常使用时钟上升沿进行模拟,而不使用时钟下降沿 // define the interface interface mem_if(input w ......
interface Program3 Program and SV

DS/MLE Road map and Courses

🥥 Table of Content I. Data Manipulation II. Machine Learning III. Deep Learning IV. Statistics V. Resume and Interview Questions VI. Daily and Busine ......
Courses Road MLE map and

Django 报错(You have 18 unapplied migration(s))

python manage.py runserver 0.0.0.0:8000 时报错: You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for ......
unapplied migration Django have You

Rabbit 2024 鸡兔同笼计算器下载 Hen and rabbit cage calculator 2024 download

计算鸡兔同笼问题,能算结果,也能算初始条件。支持中文和英文的界面。 Calculate the chicken rabbit cage problem, be able to calculate the results and initial conditions. Supports interfa... ......
2024 计算器 calculator download Rabbit

CF1896D Ones and Twos 题解

CF1896D 如果只有单次询问其实可以双指针,但是这个难以进行拓展。 考虑找点性质。 发现 \(a_i,v\in\{1,2\}\),从值域上下手。发现若存在和为 \(S\) 的方案,则一定有和为 \(S-2\) 的方案,因为可以直接 \(-2\) 或 \(-1-1\)。 然后就变为找最大的和为奇/ ......
题解 1896D 1896 Ones Twos

【CF30E】Tricky and Clever Password 题解(manacher + exKMP)

manacher + exKMP + 二分。 感觉是最粗暴的方法,想出来之后自己硬莽了 4k,荣获题解区最长。 Solution 约定:下文所提及到的所有的回文串,均指奇长度回文串。 显然把题目拆成两个部分,中间的回文串,以及两边相同的连续子串。考虑一下从哪个入手比较好。 忘记是咋想的了,易得从两边 ......
题解 Password manacher Tricky Clever

Thoughts and ideas about how to apply LLMs in specific domains like clinic/law/finance

Applying LLMs in Specific Domains As a university student who has just completed fine-tuning TinyLLaMA-1b with clinical instruction data using the QLo ......
Thoughts specific domains finance clinic

[题解]CF1811D Umka and a Long Flight

思路 假设原题目中的 \(n\) 在本文中为 \(num\),则原长方形的长 \(m = f_{num + 1}\) 和宽 \(n = f_{num}\)。 显然对于最初始的长方形,显然是要将一个 \(f_{num} \times f_{num}\) 的长方形丢进去的,并且要么放最左边,要么放在最右 ......
题解 Flight 1811D 1811 Umka

特殊的bug:element 0 of tensors does not require grad and does not have a grad_fn

很多帖子都说了,设置requires_grad_()就行。 但是我这次遇到的不一样,设置了都不行。 我是这种情况,在前面设置了torch.no_grad():,又在这个的作用域下进行了requires_grad_(),这是不起作用的。 简单版: with torch.no_grad(): model ......
does grad not element grad_fn

sql: between and

SELECT * FROM ( SELECT t.*, ROWNUM rn FROM hr.bi_history t ) WHERE rn BETWEEN 5 AND 10; ......
between sql and

[引]Power Automate Use variables and the % notation

Variable manipulation and the % notation - Power Automate | Microsoft Learn 变量操作和 % 表示法 - Power Automate | Microsoft Learn In this articleHardcoded va ......
variables Automate notation Power Use

hdfs报错:There are 0 datanode(s) running and 0 node(s) are excluded in this operation

namenode的日志还是打印There are 0 datanode(s) running and 0 node(s) are excluded in this operation.吗 报错信息如下所示。其中,【X】是当前正在运行的DataNode数量,【Y】是被排除在此操作之外的DataNode ......
are operation datanode excluded running

CF1051C Vasya and Big Integers 题解

Problem - 1051E - Codeforces Vasya and Big Integers - 洛谷 感谢女队提交记录推荐给我的一道题 \(Orz\) 首先 \(O(n^2)\) 的 \(dp\) 是 simple 的,如果你没看出来你可能是像我一样把题目看错了 设 \(dp_i\) 表 ......
题解 Integers 1051C Vasya 1051

Python - pandas 报错:ValueError: 'HIS_批准文号' is both an index level and a column label, which is ambiguous.

问题描述 file:[Terminal] ValueError: 'HIS_批准文号' is both an index level and a column label, which is ambiguous. ValueError: cannot insert 招采_批准文号, already ......
文号 ValueError ambiguous Python pandas

Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; 问题的解决

问题描述 Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version ......

Q:以非root用户编辑定时任务报错You are not allowed to use this program(crontab)

编辑定时删除文件任务时报错 crontab -e 编辑定时任务时报错,如下图所示 问题原因:/etc/cron.allow中没有添加对应的用户名解决办法:切换到root用户,在/etc/cron.allow中添加对应的用户名 编辑定时任务:crontab -e #每天中午13点,定时删除/var路径 ......
任务 allowed crontab program 用户

强化学习研究方向(研究领域)现有的不足(短板、无法落地性) —— Why You (Probably) Shouldn’t Use Reinforcement Learning

外文原文: Why You (Probably) Shouldn’t Use Reinforcement Learning 地址: https://towardsdatascience.com/why-you-shouldnt-use-reinforcement-learning-163bae193 ......

buuctf和ctfshow:misc

rar 需要密码,直接进行暴力破解,但是他说了是四位数字就将范围改成4,选择0-9就好了得出密码之后再打开就可以看到flag了 qr 扫码就可以了,看wp发现用工具qr research也可以 ningen 出来是一张照片,根据题目,将他进行压缩,然后打开发现需要密码,就和上面第一道题一样,得出密码 ......
ctfshow buuctf misc

FLAC: Federated Learning with Autoencoder Compression and Convergence Guarantee-2022

目的:减少通信量(成本),例如VGGNet架构具有大约1.38亿个参数(4264 Mb) 方法:具有自动编码器压缩(Autoencoder Compression)且具有收敛保证(Convergence Guarantee);利用冗余信息(the redundant information)和FL的 ......

CF1055F Tree and XOR

这道题代码虽然比较短,但花了我整整一天才过,太菜了 这是 CF241B 的加强版,但是有点不同,因为 CF241B 后半部分求前 \(k\) 大的和没法优化了,而这道题能把前面的求第 \(k\) 小时间复杂度优化到单 log ,但是需要注意这道题开 trie 完全开不下,所以肯定没法 trie 上二 ......
1055F 1055 Tree and XOR

牛客2022多校DAY10-K You are given a tree

「牛客2022多校DAY10-K」 You are given a tree... 简要题意 给一棵带点权和边权的树,找到至多 \(k\) 个点权不同的点,使得它们之间路径覆盖的边权和最大。 \(n\le 5000,k\le 5\)。 Solution 考虑颜色数量不大的时候怎么暴力。显然可以直接状 ......
given 2022 tree DAY You

cloudflare,vercel and netlify的作用和区别

Cloudflare,Vercel和Netlify都是为开发者提供的云计算服务,但它们的功能和特性有所不同。 Cloudflare的主要使命是帮助构建更好的互联网。它是世界上最大的网络之一,为企业、非营利组织、博客作者和任何有互联网存在的人提供更快、更安全的网站和应用。Cloudflare的网络上有 ......
cloudflare 作用 netlify vercel and
共1860篇  :4/62页 首页上一页4下一页尾页