The way to the BEST.
2019-03-27
大端编码和小端编码; 根据输入的标识和字符,化为大端并输出,以空格间隔;
input:
First line: N -- The number of inputs;
Second line: string -- The string of inputs;
Output:
One Line; The numbers with 8-bit; Big First;
eg:
INPUT:
2
0123456781abcdefgh
Output:
87654321 abcdefgh
蜜蜂采蜜; 从原点出发,去5个点后回来; 求最短路径;取整;
Input:
Ten numbers of 5 point; (x1,y1)...(x5,y5)
Output:
The shortest Path
eg:
INPUT:
200 0 200 10 200 50 200 30 200 25
OUPUT:
456
切水果;坐标方格随机摆放水果;横竖撇捺可以切到;求最少多少刀可以切完;
INPUT:
First Line: N -- Number of fruit; Second Line to N+1 Line: The position of fruit (x,y)
OUTPUT:
Number of the less;
eg:
Input:
2
2 3
3 5
Output:
2