- 博客(6)
- 收藏
- 关注
原创 Python中requirements.txt的使用
前言在Python项目中,我们经常需要一个requirements.txt用来记录项目中所用的依赖包及其版本号,以便于项目所需环境的快速部署。生成requirements.txt我们可以用pip freeze > requirements.txt快速生成requirements.txt文件使用requirements.txt安装依赖pip install -r requirements.txtrequirements.txt的语法下面是使用pip freeze自动生成的一个requ.
2022-02-13 15:59:55
2095
原创 [HDU2212]DFS(digital factorial sum)(6.1每日一题)
题目链接Problem - 2212 (hdu.edu.cn)
2021-06-02 23:59:01
172
原创 [HDU1067]Rightmost Digit(每日一题5.27)_待补充
#include <iostream>using namespace std;int main(){ int T; scanf("%d", &T); while(T--) { long long int n; scanf("%lld", &n); int rd = n % 10; int ans = rd; for(int i=1; i<n; i++).
2021-05-29 23:46:46
136
原创 [每日一题5_18][HDU2097]Sky数
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2097进制转换问题,用/和%来操作~以下是代码。#include <iostream>using namespace std;int main(){ int n; while(scanf("%d", &n) && n != 0) { int t = 0; int s10 = 0; ..
2021-05-18 19:59:28
158
4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人