当前位置:首页
> Luz 第2772页
Luz 管理员
暂无介绍
89860 篇文章 33 次评论PROGRAMMING:Conversion of hexadecimal string to decimal non negative integer
Input a string ending with #, filter out all non hexadecimal characters (regardless of case), form a new string represen…
PROGRAMMING:[template] KMP string matching
Give two strings text and pattern, where pattern is the substring of text, find out all the positions of pattern in text…
PROGRAMMING:Interface -- four calculators
*Use the interface as a parameter, write a calculator, can complete the addition, subtraction, multiplication and divisi…
PROGRAMMING:Xiao Ming mends the chair
Xiao Ming was valued by his teacher for his excellent learning of C + +. One day, the teacher asked Xiao Ming to help so…
PROGRAMMING:Polynomial evaluation
Enter a positive integer n to find the value of the following polynomial.$$1^{2}-2^{2}+3^{2}-4^{2}+...+n^{2}$$###Input f…
PROGRAMMING:Brother Hong's apple tree
There is a peach tree in brother Honghong's yard. Every autumn, there are 10 peaches on the tree. When the peaches are r…
PROGRAMMING:Has the stock gone up
Mark Twain once said: "October is the most dangerous month for stock speculation; Other dangerous months were July, Janu…
PROGRAMMING:Pattern matching of strings
Given two English alphabetic strings string and pattern, it is required to find the position where pattern first appears…
PROGRAMMING:Capitalize a word
This topic requires the preparation of procedures, input a line of characters, the first letter of each word changed to…
PROGRAMMING:Output the first character of a word
This topic requires programming, input a line of characters, the first character of each word output. The so-called "wor…