整数和大多数整数操作与其他语言相同。
Integers, and most integer operations, are the same as in other languages.
对输入的整数求平方根,遍历所有小于或等于平方根的整数。
It loops through all of the integers that are less than or equal to the square root of the input integer.
第一个是单个整数,而另一个是一个无限制的整数序列。
The first is a single integer, and the other is an unbounded sequence of integers.
例如,在英语中,一个特定单元可能需要一个整数和一个字符串(比如“Raymond has4cars”),但是在另一种语言中需要两个整数和一个字符串。
For example, a particular unit may need an integer and a string in English (like "Raymond has 4 cars"), but requires two integers and a string in another language.
在整数和浮点数上,都支持使用标准的数学操作符(+、-、/ 和 *),可以在算式中混合使用浮点数和整数。
The standard mathematical operators, +, -, /, * are supported on both integer and floating point values, and you can mix and match floating-point and integers in calculations.
表达式必须有整数类型并且只能包括整数常量,字符常量,以及定义了的运算符。
Expressions must have integral type and can include only integer constants, character constants, and the defined operator.
于是我们使用strtotime函数将其转化成整数,然后使用strftime格式化该整数,以便于表示。
So we use the strtotime function to convert this to an integer, and then strftime to format it for presentation.
对于不能将字符串转换为整数的情况,将在目标字段中使用一个用户指定的默认整数。
In cases where the string cannot be converted to an integer, a user-specified default int is placed in the target field.
普通数组的元素用整数作为索引,而关联数组的元素用名称作为索引,而不是整数。
The elements of ordinary arrays are indexed by integers, whereas the elements of associative arrays are indexed by names instead of Numbers.
该筛选表达式将产生一个整数序列,其中每个整数都小于1000且能被3或5整除。
The filter expression will result in a sequence of integers where each is less than 1,000 and divisible by 3 or 5.
PlusInt在两个输入流中都接受整数,把整数加在一起,然后把结果输出到输出流。
PlusInt takes in integers on its two input streams, adds them together, and outputs the result to its output stream.
数据的类型作为一个整数返回,该整数表示数据类型。
The type of data is returned as an integer that represents the data type. The following static fields (constants) represent the data types
表示想要的对象在序列中的索引的整数(或计算出整数的表达式)。
An integer (or an expression that evaluates to an integer) that represents the index of the desired object in the series.
begin和end属性要么是静态整数值,要么是可以得出整数值的表达式。
The begin and end attributes should be either static integer values or expressions evaluating to integer values.
优化解决方案仍然是整数点(2,0),不过现在可行域中有更多整数点了。
The optimal solution would still be the integer point (2, 0), though more integer points are feasible now.
节点2将自己的整数发送给节点1,节点4将自己的整数发送给节点3。
Node 2 sends its integer to node 1, and node 4 sends its integer to node 3.
例如,给定两个整数,你可以将它们相乘,也可以用一个整数除以另一个。
For example, given two integers, you might multiply them together or divide one by another.
PrefixInt 在它的整数输入流之前加上一个(用户配置的)整数。
PrefixInt prefixes a (user-configured) integer to its integer input stream.
一个整数文字,后面跟一个加号,再跟另一个整数文字。
An integer literal, followed by a plus sign, followed by another integer literal.
也就是说,在这个进程的输出通道上有整数可用之前,第一个输出是预先配置的整数。
That is, the first output from this process, before any integer is available on its input channel, is the configured integer itself.
如果组件期望的是有符号整数,就请确保将您的数据先转换成有符号整数再进行检查。
If the component expects signed integers, make sure that you convert your data to signed integers and then check.
比如说,您想要发送一个整数:您可以肯定,接收者将使用同样的方式来解释该整数吗?
Let's say you want to send an integer through a socket: can you be certain that the receiver will interpret the integer in the same way?
让我们来看一个在 4 个节点的集群上执行程序的例子,每个节点的内存中都有一个整数,程序的目的是对这 4 个整数求和。
Let's say a program is executing in a cluster with four nodes, each node has an integer in its memory, and the aim is to add these four numbers.
您还可以编写代码,用一个正整数的因子来确定它是否为素数(定义为大于1的整数,该数字仅有的因子为1和本身)。
You could also write code that USES a positive integer's factors to determine if it is a prime number (defined as an integer greater than 1 whose only factors are 1 and the number itself).
第一行包含两个数:一个正整数n(0
The first line contains two integers: a positive integer n (0
用普通方法实现这种操作所需要的时间是O (N)(如果对100个整数进行求和需要1ms,那么对200个整数进行求和就需要2 ms,依此类推)。
The time to do this in the regular way scales as o (n) (if it takes 1ms to add 100 integers, it takes roughly 2ms to add 200 integers, and so on).
计算机代数系统的处理对象虽然是符号公式,但也需要整数运算,并且需要的是无限精度整数运算。
Although the objects processed by a computer algebra system are usually symbolic formulae, it is necessary for the system to operate with integers and even with infinite integers.
因此,这个过滤器表达式的结果是一个整数序列,其中每个整数都小于1,000且能被3或5整除。
So the filter expression will result in a sequence of integers where each is less than 1,000 and divisible by 3 or 5.
本文提出一种新的算法,它是从开关函数最小项集合所对应的整数集出发,通过对整数进行算术运算,从而求得接近最小的两级与一或表达式。
An algorithm for such purpose, quite different from any others so far known, is here presented on the basis of arithmetic operations on integers, which correspond to the minterms of the function.
本文提出一种新的算法,它是从开关函数最小项集合所对应的整数集出发,通过对整数进行算术运算,从而求得接近最小的两级与一或表达式。
An algorithm for such purpose, quite different from any others so far known, is here presented on the basis of arithmetic operations on integers, which correspond to the minterms of the function.
应用推荐