加载中
2019-BUAA-OO-第一次作业(表达式函数求导)

设定 程序要求: 对带符号整数 ,幂函数,表达式,三角函数,表达式因子组合而成的多项式进行求导运算。求导规则符合数学规则,链式求导,复合求导以及乘法求导。   在本次作业中,空白字符...

2019/03/09 10:51
51
关于js开发中保留小数位计算函数(以向上取整或向下取整的方式保留小数)

前端工作中经常遇到数字计算保留小数问题,由于不是四舍五入的方式不能使用toFixed函数,本文采用正则表达式匹配字符串的方式,解决对数字的向上或向下保留小数问题: 1、向上保留小数(只要...

2019/03/08 17:16
27
关于面向对象的简单总结

、什么是对象:万事万物皆对象 一切具有相同本质特征和行为的物质 或一切具有属性和方法的事物,都称作对象。 对象具有两个特性:属性和方法 对象类型 存储在堆中。 例如: var obj = { name...

2019/03/08 17:58
12
学习虚拟机时Vbox提示硬件加速不可用时应该怎么办?

  也不知大家在安装或使用虚拟机时有没有出现过这样的现象?Vbox提示硬件加速不可用? 在学习Java和安装虚拟机时,自己的电脑上出现Vbox提示Vt-x硬件加速不可用,但后也知道了方法怎么弄! ...

2019/03/08 18:58
19
Sql Server 2014完全卸载

经历过好多次Sql server的安装与卸载,有时发现自己卸载的费时费力,单纯地卸载个软件就要吐血了,那么现在我觉得是时候整理一下了。 1.在运行中输入services.msc,然后找到所有跟Sql Server有...

2019/03/08 17:27
99
js-cookie和session

###1.cookie   含义: 存储在访问者的计算机中的变量,即存储在客户端   创建一个cookie     /* getCookie方法判断document.cookie对象中是否存有cookie,若有则判断该cookie中是否含...

2019/03/08 22:42
25
关于xampp中无法启动mysql,Attempting to start MySQL service...的解决办法!!

最近在学习服务器方面的知识,找到了这款功能强大的建站集成软件包——xampp。但是在开数据库服务器的时候,出现了这种情况。一直在Attemptng to start MySQL service...... 后面才发现是我电...

2019/03/08 20:03
183
[PAT] 1003 Emergency (25 分)Java

As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue teams...

2019/03/08 20:02
20
[PAT] 1002 A+B for Polynomials (25 分)Java

This time, you are supposed to find A+BA+BA+B where AAA and BBB are two polynomials. Input Specification: Each input file contains one test case. Each case occupies 2 lines, and...

2019/03/08 20:00
17
[PAT] 1001 A+B Format (20 分)Java

1001 A+B Format (20 分) Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less tha...

2019/03/08 19:57
12
[PAT] 1007 Maximum Subsequence Sum (25 分)Java

1007 Maximum Subsequence Sum (25 分) Given a sequence of K integers { N1, N2, ..., NK }. A continuous subsequence is defined to be { Ni, Ni+1, ..., Nj } where 1≤i≤j≤K. The ...

2019/03/08 20:07
20
[PAT] 1046 Shortest Distance (20 分)Java

The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of exits. Input Specification: ...

2019/03/08 20:33
14
[PAT] 1031 Hello World for U (20 分)Java

Given any string of N (≥5) characters, you are asked to form the characters into the shape of U. For example, helloworld can be printed as: h d e l l r lowo That is, t...

2019/03/08 20:28
3
[PAT] 1012 The Best Rank (25 分)Java

To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mathematics (Calculus or Linea...

2019/03/08 20:18
10
[PAT]1009 Product of Polynomials (25 分)Java

This time, you are supposed to find A×BA\times BA×B where AAA and BBB are two polynomials. Input Specification: Each input file contains one test case. Each case occupies 2 li...

2019/03/08 20:13
5
[PAT] 1010 Radix (25 分)Java

Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 is a binary number. Now for any...

2019/03/08 20:15
14
[PAT] 1013 Battle Over Cities (25 分)Java

It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that city are closed. We must kno...

2019/03/08 20:20
19
[PAT] 1148 Werewolf - Simple Version (20 分)Java

Werewolf(狼人杀) is a game in which the players are partitioned into two parties: the werewolves and the human beings. Suppose that in a game, player #1 said: "Player #2 is a ...

2019/03/08 21:02
27
[PAT] 1096 Consecutive Factors (20 分)Java

Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored as 3×\times×5×\times×6×\times×7, where 5, 6, ...

2019/03/08 21:00
12
[PAT] 1077 Kuchiguse (20 分)Java

The Japanese language is notorious for its sentence ending particles. Personal preference of such particles can be considered as a reflection of the speaker's personality. Such ...

2019/03/08 20:40
10

没有更多内容

加载失败,请刷新页面

返回顶部
顶部