- 博客(16)
- 收藏
- 关注
原创 Linux shell :判断nfs是否挂载并执行定时任务定时输出dmesg到文件
Linux shell :判断nfs是否挂载并执行定时任务定时输出dmesg到文件。
2023-02-24 11:01:30 378
原创 牛客网练习赛 B:SHTMYCBDFTT
#include<stdio.h>#define N 3*10*10*10*10*10#define M 100000007int main(){ long long int n; long long int i; long long int a = 0, sum = 0; long long int ans = 0; long long int s[N]; s...
2019-03-15 20:32:33 188
转载 VS2017代码补齐
点【编辑】-【高级】-【设置选定内容的格式】或者按Ctrl + K 然后再按Ctrl + F 就好了你可以在常用快捷键自定义 窗口中进行查看1.进入工具-选项 对话框2.选择【环境】-【键盘】3.在 【显示命令包含】 下面的对话框中输入“对齐”关键字,然后就会在这个编辑框下面一个文本窗口中显示关于“对齐”一系列的“某某对齐”操作命令,选中你想查看的,就会在【选定命令的快捷键】一栏中显示其...
2019-01-19 22:05:40 1785
原创 学习笔记:使控制台变透明(GetSystemMetrics()函数的运用)
使控制台变透明1.引用头文件#include <graphics.h> // 引用图形库头文件#include<Windows.h> //调用Windows库文件2.创建函数void InitWindow() { //1920*1080 获取 Get 设置Set //使用api来获取当前窗口的宽 高 //创建一个窗口 宽 高 单...
2019-01-15 10:29:26 1015
原创 学习笔记:在程序中播放媒体文件
在程序中播放媒体文件step1 :声明媒体函数#include "mmsystem.h" //调用Windows媒体函数库#pragma comment(lib,"winmm.lib") //导入winmm.lib库,支持对windows 多媒体的编程.step2 :调用函数1.mciSendString(_T("open 媒体文件名.mp3 alias music"), NUL...
2019-01-15 10:14:15 170
原创 POJ 1299 Polar Explorer
Polar ExplorerTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 4277 Accepted: 1475DescriptionYou are a intrepid 2-dimensional explorer located at the northern polar reaches of a distant...
2018-11-29 19:36:36 539
原创 杭电1048
The Hardest Problem EverTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 32942 Accepted Submission(s): 15170Problem DescriptionJulius Caes...
2018-11-28 15:24:36 272
原创 What day is it 杭电2133
What day is itTime Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7978 Accepted Submission(s): 2264Problem DescriptionToday is Saturday, 17th...
2018-11-28 14:36:39 180
原创 人见人爱A^B
人见人爱A^B题目描述:求A^B的最后三位数表示的整数。输入:输入数据包含多个测试实例,每个实例占一行,由两个正整数A和B组成(1<=A,B<=10000),如果A=0,B=0,则表示输入数据的结束,不做处理。输出:对于每个测试实例,请输出A^B的最后三位表示的整数,每个输出占一行。样例输入:2 312 66789 100000 0样例输出:...
2018-11-28 13:07:15 168
原创 杭电1032
The 3n + 1 problemTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 48340 Accepted Submission(s): 17473Problem DescriptionProblems in Compu...
2018-11-26 17:47:40 158
原创 Gold Coins国王的金币
DescriptionThe king pays his loyal knight in gold coins. On the first day of his service, the knight receives one gold coin. On each of the next two days (the second and third days of service), the k...
2018-11-20 20:16:45 898
原创 UVA 11000 Bee
In Africa there is a very special species of bee. Every year, the female bees of such species give birthto one male bee, while the male bees give birth to one male bee and one female bee, and then th...
2018-11-19 16:52:41 167
原创 acm题目
acmBill and Ted are taking a road trip. But the odometer in their car is broken, so they don’t know how many miles they have driven. Fortunately, Bill has a working stopwatch, so they can record thei...
2018-11-19 15:15:17 201
原创 杭电1001
杭电1001Problem DescriptionHey, welcome to HDOJ(Hangzhou Dianzi University Online Judge).In this problem, your task is to calculate SUM(n) = 1 + 2 + 3 + … + n.InputThe input will consist of a serie...
2018-11-17 15:48:32 252
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人