七里笑
七里笑
全部文章
分类
C语言基础(1)
UVa(4)
WOJ(144)
笔试(11)
归档
标签
去牛客网
登录
/
注册
七里笑的博客
全部文章
(共160篇)
WOJ1004-Noah's Ark
Now,our story begins.As usual,I'll tell you the background as follows: 6:13 And God said to Noah, The end of all flesh has come; the earth is full of...
2017-08-28
0
569
WOJ1023 - Division
Given a set S with n numbers , we wish to divide these numbers into ?clusters? so that: (1) Each cluster contains at least p numbers; (2) Each cluste...
2016-09-11
0
480
WOJ1100 - Forest
今年六月有8个ACMERS 毕业,他们是: ?littleken","knuthocean","dongfangxu","zap","kittig","robertcui","f...
2016-09-11
0
563
WOJ1017-Billiard Ball
大神写的太详细了,mark一下慢慢膜拜!~ http://blog.sina.com.cn/s/blog_493bff030100041r.html There is a billiard table with acute triangle shape, and there are po...
2016-09-07
0
586
WOJ1006 - Language of Animals
According to Ernest Mayr, America's leading taxonomist, there are over 1 million species of animals in the world.When all kinds of animals took boat,t...
c语言
WOJ
编程题目
算法
SPFA
2016-08-20
0
572
WOJ:Starter:1052 - BONUS#A - 全排列
下面的代码主要是用了快速排列函数qsort 用其排序还是很方便的 #include <stdio.h> #include <stdlib.h> #include <string.h> /* 学习库函数qsort*/ int cmp(const void...
2016-08-20
0
416
WOJ:Starter:1046 - BONUS#4 - 统计字符
gets()函数不能控制输入的长度,例如 char str[100]; gets(str); 如果用户输入10000个字符,情况会怎样呢?很显然,数组越界,程序很可能会崩溃,并且还有受到恶意输入导致遭受溢出攻击的风险。 可用的替代函数是 fgets, 原型类似于 char *...
2016-08-20
0
422
WOJ1005 - Holding Animals
The total available floor space on the ark would have been over 100,000 square feet, which would be more floor space than in 20 standard sized basketb...
2016-08-20
0
444
WOJ1002-Genesis
ACM lovers are fond of searching the origin of things. So,I'll tell you the origin of the world,which is also the origin of our story-The first seven ...
2016-08-17
0
602
C语言书写规范指南
第1章文件结构 每个C程序通常分为两个文件。一个文件用于保存程序的声明(declaration),称为头文件。另一个文件用于保存程序的实现(implementation),称为定义(definition)文件。 C程序的头文件以“.h”为后缀,C程序的定义文件以“.c”为后缀。 ...
2016-08-17
0
601
首页
上一页
7
8
9
10
11
12
13
14
15
16
下一页
末页