- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 test1
#!/bin/bashtouch a.txtecho "I Love Beijing" >> a.txtcat a.txtecho "I Love Henan University" >> a.txttouch b.txtcat a.txt >> b.txttouch c.txtsort -r b.txt >> c.txt#...
2018-10-29 09:45:53 153
原创 众数问题
#include <bits/stdc++.h>using namespace std;#define LL long longmap<LL,LL> ma;const int M=1e5+10;int main(){ LL n,a,b=0; cin >>n; while(n--) { cin >...
2018-10-25 10:39:38 150
原创 1_1 统计数字问题
问题描述:一本书的页码从自然数1开始计数,直到自然数n。书的页码按照通常的习惯编排,每个页码都不包含多余的前导数字0。例如,第6页用数字6表示,而不是06或006等。数字计数问题要求对给定书的总页码n,计算出书的全部页码中分别用到多少次数字0,1,2,...,9。方法一: 暴力(适用于数据较小和打表检验自己的结果是否正确)#include <bits/stdc++.h>...
2018-10-24 23:27:54 170
原创 BMP文件的读取
main文件#include <iostream>#include <stdio.h>#include "BmpRot.h"#include "stdlib.h"#include "math.h"#define PI 3.14159#define LENGTH_NAME_BMP 30using namespace std;BITMAPFILEHE...
2018-10-16 18:06:29 3882
AZ900_课件_题库
2020-11-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人