Day 30: Developing Programming Habits in 21 Days: C++ Problem Solving Day 14

Day 30: Developing Programming Habits in 21 Days: C++ Problem Solving Day 14

Learn programming with Lao Ma by “leveling up and fighting monsters”! Involves examination: Computer Society Programming Ability Level Certification (GESP) Event content: Provides real exam questions of different levels for students to choose for practice Preparation advice: Choose corresponding questions based on your preparation level Additional value: Can be used as preparation training for whitelist … Read more

Analysis of the C++ Questions from the 16th Blue Bridge Cup – August 2025

Analysis of the C++ Questions from the 16th Blue Bridge Cup - August 2025

1. Run the following program, the output result is ( ). A.X0 B.X5 C.5 D.0 Knowledge points assessed: functions, local variables, and global variables. 2. Run the following program, the output result is ( ). A.3 B.4 C.9 D.16Knowledge points assessed: simulation.i=1, satisfies the while statement, runs t=1, i=3;i=3, satisfies the while statement, runs t=2, … Read more

In-Depth Analysis of GESP Level 1-8 (C++) Exam Points!

In-Depth Analysis of GESP Level 1-8 (C++) Exam Points!

In today’s digital age, programming skills have become one of the essential skills for young people. GESP (CCF Programming Ability Level Certification) serves as an authoritative certification for programming ability, providing a platform for young people to assess their programming skills. It is divided into levels 1 to 8, covering programming knowledge and skills from … Read more

The Cornerstone of the Coding World: Why Learning C++ Gives Children a Competitive Edge

The Cornerstone of the Coding World: Why Learning C++ Gives Children a Competitive Edge

Click the blue text above to follow us immediately When children express a desire to learn programming, Python and graphical programming (Scratch or Kitten) may be the first choices. However, today we will discuss a seemingly “hardcore” yet immensely promising option—C++. It is not only the “key to success” in informatics competitions but also the … Read more

C Language Final Exam Questions Series – 5

C Language Final Exam Questions Series - 5

01 Answer: D Explanation: Brief 02 Answer: B Explanation: Brief 03 Answer: None Explanation: The correct format should be scanf(“a=%db=%d string=%s”,&a,&b,string); 04 Answer: D Explanation: The else statement always pairs with the nearest unmatched if statement. 05 Answer: C Explanation: Brief 06 Answer: D Explanation: Brief 07 Answer: B Explanation: In C language, when an … Read more

From Zero to Mastery in C Language: A Necessary Path for System Programming

From Zero to Mastery in C Language: A Necessary Path for System Programming

1. Introduction to C Language Basics (1-2 months) (1) Setting Up the Development Environment Compiler Selection GCC: GNU Compiler Collection, cross-platform support Clang: LLVM project compiler, user-friendly error messages MSVC: Microsoft Visual C++ compiler MinGW: Ported version of GCC for Windows Integrated Development Environment Code::Blocks: Lightweight, suitable for beginners Dev-C++: Simple and easy-to-use Windows IDE … Read more

Daily Practice | Basic C Language Training

Daily Practice | Basic C Language Training

Problem: Using the digits 1, 2, 3, and 4, how many distinct three-digit numbers can be formed without repeating any digits? What are they? NEXT Solution: #include<stdio.h> int main() { int i,j,k; printf(“\n”); for(i=1;i<5;i++) { // The following is a triple loop for(j=1;j<5;j++) { for (k=1;k<5;k++) { // Ensure i, j, and k are distinct … Read more

GESP Level 3 C++ Conversion Problems – luogu-B3926 [GESP202312 Level 3]

GESP Level 3 C++ Conversion Problems - luogu-B3926 [GESP202312 Level 3]

GESP Level 3 exam questions, string-related problems, difficulty ★★☆☆☆. luogu-B3926 [GESP202312 Level 3] Unit Conversion Problem Requirements Problem Description Little Yang’s math homework this week is to perform unit conversions. As someone who enjoys programming, Little Yang decided to write a program to help him solve these problems. Little Yang has only learned about length … Read more

C++ Standard Library Algorithms: Common Algorithms for Sorting, Searching, and More

C++ Standard Library Algorithms: Common Algorithms for Sorting, Searching, and More

The C++ Standard Library provides a rich set of algorithms that help us efficiently process data. This article will introduce some commonly used sorting and searching algorithms, along with code examples for demonstration. 1. Sorting Algorithms 1.1 <span>std::sort</span> <span>std::sort</span> is the most commonly used sorting function in the C++ Standard Library, which uses quicksort (or … Read more

Detailed Explanation of Common Data Structures in C++

Detailed Explanation of Common Data Structures in C++

Detailed Explanation of Common Data Structures in C++ C++ is a powerful system-level programming language, and its Standard Template Library (STL) provides developers with a rich and efficient set of data structures. Mastering these data structures not only enhances development efficiency but also allows for the creation of more robust and high-performance programs. This article … Read more