问题描述
When Deathmoon played MC game, he faced a math problem. When he found a ancient tomb and came in, he found two polynomials f(x) and g(x) no the wall, only did he calculate f(x) + g(x) correctly ...
分类:
其他好文 时间:
2014-05-10 09:57:54
阅读次数:
300
在ABAP开发中,经常需要定义一些常量或者变量,而且可能存在多个程序中需要用到类似的变量或者结构体,如果在每个程序中都需要重复定义这些变量或者结构体的话,势必存在重复的代码编写,而且也容易出错,当需要变动时可以同时修改多个程序,造成一些冗余的工作。SAP提供了类型组,允许用户建立一些公用的对象,允许...
分类:
其他好文 时间:
2014-05-09 19:11:33
阅读次数:
317
Given a linked list, reverse the nodes of a
linked listkat a time and return its modified list.If the number of nodes is not
a multiple ofkthen left-o...
分类:
其他好文 时间:
2014-05-09 12:00:21
阅读次数:
309
ABAP 负号前置方法汇总
开发过程中有这样的一个需求,要求指定数字栏位负号前置:方法一:PERFORM FRM_MOVE_DATA_MINUS CHANGING L_CHAR20. ”
负号前置*&———————————————————————*...
分类:
其他好文 时间:
2014-05-08 21:38:54
阅读次数:
743
1:打开"记事本",输入这段代码 (注意大小写)class HelloWorld { public
static void main(String args[]) { System.out.println("Hello World"); } } 2:以
He...
分类:
编程语言 时间:
2014-05-07 19:43:54
阅读次数:
367
John is going on a fishing trip. He has h hours available (1 <= h <= 16), and there are n lakes in the area (2 <= n <= 25) all reachable along a single, one-way road. John starts at lake 1, but he can finish at any lake he wants. He can only travel from on...
分类:
其他好文 时间:
2014-05-07 08:48:52
阅读次数:
515
import org.junit.Test;
public class Multiple {
public void printMultiple99() {
int i = 1;
for (; i < 10; i++)
for (int j = 1; j <= i; j++)
System.out.print(j + "*" + i + "=" + i * j + " ...
分类:
其他好文 时间:
2014-05-07 06:46:25
阅读次数:
359
Cutting Recipes
The chef has a recipe he wishes to use for his guests,
but the recipe will make far more food than he can serve to the guests.
The chef therefore would like to make a reduced ve...
分类:
其他好文 时间:
2014-05-04 17:54:01
阅读次数:
387
Sort a linked list using insertion
sort.思路:使用插入排序来对链表进行排序。只要注意链表的边界问题,其实关键就是交换链表的值,对链表指针是没有什么影响的。接下来说下具体步骤:1.判断head或者head->next是否为空;2.循环遍历,初始条件pCur=he...
分类:
其他好文 时间:
2014-05-04 10:01:57
阅读次数:
242
题目描述:
Hzz loves aeroplane chess very much. The chess map contains N+1 grids labeled from 0 to N. Hzz starts at grid 0. For each step he throws a dice(a dice have six faces with equal probability to...
分类:
其他好文 时间:
2014-05-04 09:18:42
阅读次数:
321