Peking University C++ POJ after-school exercises blog record complete solution (C++)


Advance

As a freshman studying C++,
the foundation of C++ is limited to the Mooc
feature of Peking University. This article is to record the answer
to each question. For individual questions, there is no idea or really can't think of it. It is borrowed from others. Excellent code
encourages everyone on the way to learning C++

Insert picture description here


Blog full solution link

001: simple swap recent submission
002: difficult swap
003: weird return value
004: mysterious array initialization recent submission
005: programming fill in the blanks: student information processing program
006: strange class copy
007: what to return Ok
008: Super simple complex number class
009: Where's the output
010: What should be returned
011: Big & Base closed class question
012: Where does this pointer come from
013: One of the World of Warcraft: Preparation
014: MyString
015: Operator overload
016 that looks bad : stunned! Point can input and output like this.
017: The fourth week of the program fills in the blank question 3
018: Don’t call it, this big integer has been very simplified!
019: Comprehensive MyString
020: MyString inherited from string
021: World of Warcraft II: Equipment
022: Looks like polymorphism
023: Fun and Do
024: What the hell is this delete
025: Why is Fun and Do again
026: Fill in the blanks by programming: Count the number of animals
027: Simple SumArray
028: Simple foreach
029: Simple Filter
030: You really figure out why while
031: istream_iterator copycat
032: This template is not difficult
033: Sorting, see also sorting!
034: Goodcopy
035: Sorting by distance
036: CArray3d three-dimensional array template class that is difficult to get confused
037: Filter of function object
038: Sorting of white list
039 : My own ostream_iterator
040: List
041: Set
042: Hot-blooded fighting arena
043: Cold-blooded fighting arena
044: Programming to fill in the blanks: Student information in the database
045: World of Warcraft is three wars!


Back quote

Insert picture description here

Guess you like

Origin blog.csdn.net/qq_37500516/article/details/115059113