C++ Practice [GESP2506 Level 6] Study Group

GESP Level 6 practice, knapsack problem, difficulty General Group. CCF-GESP C++ Assessment Standards Hongyang, WeChat Official Account: Hongyang’s Programming Class CCF-GESP C++ Assessment Standards Comprehensive Guide – [GESP2506 Level 6] Study Group Problem Requirements Problem Description The class teacher plans to divide n students in the class into several study groups, with each student needing … Read more

Introduction to C++ Algorithms

Introduction to C++ Algorithms

This is a problem I encountered during my summer vacation while trying to solve problems on Luogu. After quickly finishing the first problem, A+B, which was as simple as elementary school math, I thought this was the beginning of my dream. However, the second problem, the River Crossing Pawn, gave me a rude awakening. Perhaps … Read more

CCF Programming Assessment · C++ · (Level 1 2025-06)

CCF Programming Assessment · C++ · (Level 1 2025-06)

C++ Level 1 C++ Level 2 C++ Level 3 C++ Level 4 C++ Level 5 C++ Level 6C++ Level 7C++ Level 8 CSP-JCSP-J Round 2 (2020) CSP-S 2025-12 Theory Programming 1.(Luogu:) Solution→ Sample Analysis: … Understanding the Problem: … Basic Knowledge: … Steps to Approach: … Code Implementation (C++): 2.(Luogu:) Solution→ Sample Analysis: … Understanding … Read more

C++ Weekly Practice (27) Recursion Algorithm Problem

C++ Weekly Practice (27) Recursion Algorithm Problem

Problem: Building Primary Schools in Mountainous Areas [Problem Description] The government has constructed a road in a mountainous area that passes through a total of m villages, visiting each village exactly once, without loops or intersections, and any two villages can only be accessed via this road. The distance between any two adjacent villages is … Read more

Path to Full Marks in GESP C++ Level 6 (Latest Version September 2025)

Path to Full Marks in GESP C++ Level 6 (Latest Version September 2025)

Detailed Explanation of GESP Examination Syllabus | C++ Level 6Grade Examination of Software ProgrammingC++ Certification Knowledge System (Level 6)1. Assessment Objectives Master the basic knowledge of trees, and be able to distinguish and use Huffman trees, complete binary trees, and binary search trees. Master search algorithms and choose the optimal search algorithm based on different … Read more

How to Implement Dynamic Fireworks in C++ (Source Code Included)

How to Implement Dynamic Fireworks in C++ (Source Code Included)

1. Introduction The fireworks program implemented in C++ uses the EGE graphics library. If you don’t have it, you need to install it yourself. Adjustable options include: background image and background music, particle blur, brightness, and ascent speed parameters. The dynamic fireworks created are visually appealing and can be used to impress a girlfriend or … Read more

Solutions to the C++ Problems of the 16th Blue Bridge Cup National Competition

Solutions to the C++ Problems of the 16th Blue Bridge Cup National Competition

Overall, this set of problems is much simpler than last year’s national competition problems. Last year’s problems included several advanced algorithm questions, while this year’s problems have been reduced to a more general difficulty level.The problems have been updated on Luogu, and everyone can try submitting solutions there!Problem 1: StringProblem 2: EnumerationProblem 3: FactorizationProblem 4: … Read more

Introduction to C Language: 01 Knapsack Problem

Introduction to C Language: 01 Knapsack Problem

Basic introduction to C language for beginners, looking at some common examples to learn some coding ideas. Please be gentle with the feedback. Dynamic Programming – 0-1 Knapsack Problem Problem Overview: Given items and a knapsack with a capacity of , each item has a weight and a value , the goal is to select … Read more

Introduction to Dynamic Programming (DP) in C++ Programming – Lesson 7

Introduction to Dynamic Programming (DP) in C++ Programming - Lesson 7

Introduction Today, we will discuss DP, which stands for Dynamic Programming. There are many types of DP, such as Knapsack DP, Digit DP, Tree DP, and Bitmask DP… These are all advanced skills that I will share with you in the future. For today, let’s simply understand the basics of DP. 01 Dynamic Programming Concepts … Read more

GESP C++ Level 4 Exam Syllabus Knowledge Points Overview: (6) Recursion Algorithms

GESP C++ Level 4 Exam Syllabus Knowledge Points Overview: (6) Recursion Algorithms

In the official GESP C++ Level 4 exam syllabus, there are a total of 11 key points. This article analyzes and introduces the 6th key point. (6) Master the basic ideas of recursion algorithms, the derivation of recursive relationships, and the solution of recursive problems. Review of other Level 4 key points: GESP C++ Level … Read more