排序:
默认
按更新时间
按访问量

I Count Two Three题解

I will show you the most popular board game in the Shanghai Ingress Resistance Team. It all started several months ago.  We found out the home addres...

2018-07-24 19:24:50

阅读数:24

评论数:0

hdu 6227 Rabbits题解

Here N (N ≥ 3) rabbits are playing by the river. They are playing on a number line, each occupying a different integer. In a single move, one of the ...

2018-07-19 17:19:26

阅读数:23

评论数:0

array array array题解

One day, Kaitou Kiddo had stolen a priceless diamond ring. But detective Conan blocked Kiddo's path to escape from the museum. But Kiddo didn't want ...

2018-07-17 15:15:26

阅读数:23

评论数:0

cable cable cable题解

Connecting the display screen and signal sources which produce different color signals by cables, then the display screen can show the color of the s...

2018-07-16 20:45:17

阅读数:18

评论数:0

Color it题解

Do you like painting? Little D doesn't like painting, especially messy color paintings. Now Little B is painting. To prevent him from drawing messy p...

2018-07-15 12:06:16

阅读数:49

评论数:0

A Math Problem题解

You are given a positive integer n, please count how many positive integers k satisfy kk≤nkk≤n. InputThere are no more than 50 test cases. Each case ...

2018-07-14 21:22:00

阅读数:27

评论数:0

CCF 火车购票 题解

试题编号:201609-2试题名称:火车购票时间限制:1.0s内存限制:256.0MB问题描述:问题描述  请实现一个铁路购票系统的简单座位分配算法,来处理一节车厢的座位分配。  假设一节车厢有20排、每一排5个座位。为方便起见,我们用1到100来给所有的座位编号,第一排是1到5号,第二排是6到1...

2018-03-15 09:06:23

阅读数:43

评论数:0

Reading comprehension题解

Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1286    Accepted Submission(s): 515Problem De...

2018-03-06 21:13:01

阅读数:44

评论数:0

Fast Matrix Calculation题解

One day, Alice and Bob felt bored again, Bob knows Alice is a girl who loves math and is just learning something about matrix, so he decided to make ...

2018-03-05 21:13:51

阅读数:41

评论数:0

M斐波那契数列

M斐波那契数列F[n]是一种整数数列,它的定义如下: F[0] = a F[1] = b F[n] = F[n-1] * F[n-2] ( n > 1 ) 现在给出a, b, n,你能求出F[n]的值吗?Input输入包含多组测试数据; 每组数据占一行,包含3个整数a, b,...

2018-03-04 11:51:25

阅读数:53

评论数:0

233 Matrix题解

Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 1355    Accepted Submission(s): 806Problem D...

2018-03-02 23:45:07

阅读数:65

评论数:0

Jzzhu and Sequences题解

Jzzhu has invented a kind of sequences, they meet the following property:You are given x and y, please calculate fn modulo 1000000007 (109 + 7).Input...

2018-03-02 12:54:51

阅读数:41

评论数:0

Error Correction题解

A boolean matrix has the parity property when each row and each column has an even sum, i.e. contains an even number of bits which are set. Here's a ...

2018-03-01 16:39:33

阅读数:94

评论数:0

Modular multiplication of polynomials 题解

Consider polynomials whose coefficients are 0 and 1. Addition of two polynomials is achieved by 'adding' the coefficients for the corresponding power...

2018-02-28 16:20:12

阅读数:173

评论数:0

codevs1011数的计算

#include using namespace std; int n,s=1; int count(int tt) { int i; if(tt/2==0) return 0; else{ for(i=1;i<=tt/2;++i){ ++s; if(i>=2) count(i); ...

2017-12-01 22:04:44

阅读数:85

评论数:0

明明的随机数题解

明明想在学校中请一些同学一起做一项问卷调查,为了实验的客观性,他先用计算机生成了N个1到1000之间的随机整数(N≤100),对于其中重复的数字,只保留一个,把其余相同的数去掉,不同的数对应着不同的学生的学号。然后再把这些数从小到大排序,按照排好的顺序去找同学做调查。请你协助明明完成“去重”与“排...

2017-11-24 12:31:05

阅读数:100

评论数:0

存储类型与作用域

一个变量,不仅有数据类型,还有存储类型。 数据类型包括整形、长整形、单精度浮点型、双精度浮点型、各种字符型、指针型、结构型和自定义类型等。 存储类型:分为静态存储和动态存储两大类。 动态存储:包括自动变量(auto)和寄存器变量(register); 静态存储:包括静态变量...

2017-07-27 15:05:40

阅读数:214

评论数:0

C语言计算sinx

#include #include int jc(int n); int main() { int m=1,f=1,i=1; double sinx=0.0,x,z; double ans; scanf("%lf",&x); z=x; double a; a=f*po...

2017-07-25 22:09:53

阅读数:1749

评论数:0

让未来的科技融入人文温度

我深知人文温度的重要性。毁掉一部计算机有两种方法,用物理方法砸了它,和用程序方法黑了它。毁掉一个人也有两种方法,用物化生方法让人体细胞大量失活,和用心理方法让他精神失常无法正常生活。身体健康和心理健康同等重要。科技的发展速度已经不需要地球人担心了,但是人的心理适应真的跟得上吗?科技用近乎是纯理科的...

2017-07-12 00:41:09

阅读数:413

评论数:0

AI是个不错的选择

前些日子看了奇虎360董事长周鸿祎的《智能主义》,感触颇深。总的来说,周董对公司的发展思路相当清晰,我由衷敬佩。他的许多观点,我也是所见略同。更令我欣喜的是,在大量阅读了有关计算机未来的发展前景解说以及各大巨头的发展史的书之后,我也有了一些自己的看法。接下来我会逐一道来。      首先,人工智能...

2017-07-11 10:03:05

阅读数:2189

评论数:8

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