自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 资源 (5)
  • 收藏
  • 关注

原创 fork() && fork() || fork() 个人理解

#include <unistd.h> #include <stdio.h> int main() { fork(); fork() && fork() || fork(); fork(); printf("+ \n"); return 0; } 这段代码一共创建了20个进...

2020-04-25 16:11:21 1118 2

原创 for循环中的 fork(); printf("_");

先回忆一下**fork()**函数由fork创建的新进程被称为子进程(child process)。fork函数被调用一次,但返回两次。1.在父进程中,fork返回新创建子进程的进程ID。2.在子进程中,fork返回0。3.如果出现错误,fork返回一个负值。而且在fork()调用处父进程空间会复制到子进程,包括:指令、调用值、栈、环境变量、缓冲区等。(这句不一定正确)#includ...

2020-04-24 20:24:57 1499 3

原创 (第二次周赛)Theatre Square 【CodeForces - 1A】

Theatre Square题目 [CodeForces - 1A]Theatre Square in the capital city of Berland has a rectangular shape with the size n × m meters. On the occasion of the city’s anniversary, a decision was taken t...

2018-12-20 21:38:16 1260

原创 (训练题第二期)数列有序!【HDU - 2019】

数列有序! HDU - 2019题目 [HDU - 2009]有n(n&amp;amp;lt;=100)个整数,已经按照从小到大顺序排列好,现在另外给一个整数x,请将该数插入到序列中,并使新的序列仍然有序。Time limitMemory limitOSSource1000 ms32768 kBWindowsC语言程序设计练习(二)Input输入数据包含多个测试实...

2018-12-14 16:09:24 457 1

原创 (训练题第二期)A + B Again 【HDU - 2057】

A + B Again题目 [HDU - 2057]There must be many A + B problems in our HDOJ , now a new one is coming.Give you two hexadecimal integers , your task is to calculate the sum of them,and print it in hexa...

2018-12-14 15:23:35 439

原创 (训练题第二期)水仙花数 【HDU - 2010】

水仙花数题目 [HDU - 2010]春天是鲜花的季节,水仙花就是其中最迷人的代表,数学上有个水仙花数,他是这样定义的:“水仙花数”是指一个三位数,它的各位数字的立方和等于其本身,比如:153=13+53+3^3。现在要求输出所有在m和n范围内的水仙花数。Time limitMemory limitOSSource1000 ms32768 kBWindow...

2018-12-12 14:18:31 3396

原创 (第一次周赛)三角形 【HDU - 2039】

第几天?题目 [HDU - 2005]给定三条边,请你判断一下能不能组成一个三角形。Time limitMemory limitOSSource1000 ms32768 kBWindows2005实验班短学期考试Input输入数据第一行包含一个数M,接下有M行,每行一个实例,包含三个正数A,B,C。其中A,B,C &amp;amp;amp;amp;amp;lt;1000;Output...

2018-12-10 16:50:17 144

原创 (第一次周赛)第几天?【HDU - 2005】

第几天?题目 [HDU - 2005]给定一个日期,输出这个日期是该年的第几天。Time limitMemory limitOSSource1000 ms32768 kBWindowsC语言程序设计练习(一)Input输入数据有多组,每组占一行,数据格式为YYYY/MM/DD组成,具体参见sample input ,另外,可以向你确保所有的输入数据...

2018-12-10 14:37:38 168

原创 (第一次周赛)Drazil and Date【CodeForces - 515A】

Drazil and Date题目 [CodeForces - 515A]Someday, Drazil wanted to go on date with Varda. Drazil and Varda live on Cartesian plane. Drazil’s home is located in point (0, 0) and Varda’s home is located ...

2018-12-09 15:10:32 148

原创 (训练题第一期)A + B Problem 【HDU - 1000】

A + B Problem 【HDU - 1000】题目Calculate A + B.Time limitMemory limitOSSource1000 ms32768 kBWindows-InputEach line will contain two integers A and B. Process to end of file.Out...

2018-12-07 22:59:14 140

原创 (训练题第一期)ASCII码排序【HDU - 2000】

ASCII码排序【HDU - 2000】题目输入三个字符后,按各字符的ASCII码从小到大的顺序输出这三个字符。Time limitMemory limitOSSource1000 ms32768 kBWindowsC语言程序设计练习(一)Input输入数据有多组,每组占一行,有三个字符组成,之间无空格。Output对于每组输入数据,输出一...

2018-12-07 22:42:39 160

原创 (训练题第一期)计算球体积 【HDU - 2002】

ACM入门的练习题(HDU-2101)题目如下A + B Problem TooThis problem is also a A + B problem,but it has a little difference,you should determine does (a+b) could be divided with 86.For example ,if (A+B)=98,you sho...

2018-12-07 19:20:21 291

原创 (训练题第一期)A + B Problem Too【HDU - 2101】

ACM入门级练习题Calculate A + B.InputOutputSample InputSample Output直接上题目吧比较简单的HDU1000Calculate A + B.InputEach line will contain two integers A and B. Process to end of file.OutputFor each case, outp...

2018-12-07 19:06:03 162

遗传算法解决TSP问题.py

遗传算法解决TSP问题

2021-01-25

软件测试复习题.pdf

软件测试复习题

2021-01-25

Knapsack.cpp

01背包cpp文件

2021-01-25

线性代数重要知识点及典型例题答案.pdf

线性代数期末挣扎用

2021-01-25

Xodo设置中英对照.png

win10 pdf查看器xodo的中英对照设置

2021-01-25

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除