计算机类 2021_09_21 每日一练
下面这段代码输出什么?为什么?
int i=5;
int j=5;
if (Object.ReferenceEquals(i,j))
Console.WriteLine("Equal");
else
Console.WriteLine("Not Equal");
Write a script. in PHP and Javascript. to accept two textarea's, slot and alternative by the name.
+ slot can contain many a lines, each line includes many words and is ended by a number
+ the chars in the slot can only be either alpha-numeric chars or squares or underlines
+ if a word in the slot is surrounded by underlines, it must start a new line in the alternatives,
followed by the detailed definition of the word
+ the square brackets should come in pairs
for example, the following is legal slot and alternative:
SLOT ALTERNATIVE
---------------------- --------------------------
| this is 1 | | _this_ th ee s |
| the is 1 | | |
| this's 2 | | |
| _this_ 2 | | |
---------------------- --------------------------