My Son’s Performance in Learning C++: A Week of Progress

On Friday, I continued to let my son participate in the weekly competition on the website. Out of four problems, he could only solve two, as he did not understand the mathematical concepts in the other two.

During the competition, he called out for me to help him read the questions, but I ignored him and told him to proceed as if it were a normal contest.

For the third and fourth problems, he couldn’t understand them, so I took a look and confirmed they were beyond his knowledge base. I told him that if he didn’t understand, he should PASS. Ultimately, in this week’s competition, with a full score of 400 points, he only scored 200 points.

In the evening, my son still watched C++ videos and solved a few problems on the practice website.

Finally, he still had his thoughts on the game he had been thinking about all week.

Last weekend, I reached an agreement with my son that if he performed well during the week, I would increase his game time.

Today, my son asked me how he performed this week and how much his game time could be increased.

He indeed showed improvement this week compared to before, and to avoid discouraging him, I secretly agreed to increase his game time.

However, I didn’t immediately tell him how much time to increase; instead, I asked him how much he thought he deserved.

After thinking for a moment, my son said he wanted to increase it by 45 minutes.

I asked him why 45 minutes?

He replied, “Can’t I increase it by an hour?”

I said, “Why not 30 minutes?”

He said, “If I add 15 minutes, I can play one more round.”

Haha, I figured this kid probably thought increasing it by 30 minutes was fine, but an hour was unlikely, so to maximize his benefit, he gambled for 45 minutes.

I could accept his request for 45 minutes. I agreed to increase his game time, but I also pointed out the areas he fell short this week, hoping he would improve in the future.

Recently, I noticed his progress in mathematics was still slow. After doing a few weekly competition problems, he was often stuck on some mathematical concepts in the harder questions, which greatly hindered his understanding of the problems.

It seems that he needs to speed up his progress in mathematics!

Thank you for reading, and I appreciate your likes and follows. Let’s communicate and share to make life better!

Articles in the series for non-computer science parents teaching their children programming:

How non-computer science parents guide their children to learn programming

My son’s performance in the semi-finals, sharing from a gold medal coach at Yali, a regular child achieving a gold medal in 2025

How non-computer science parents help their children learn C++ programming

Should C++ learning precede mathematics? How I help my son learn mathematics

My son’s bad habit in learning programming is also a form of my own training

How I handle my son’s gaming issues while participating in the weekly competition

Data analysis of Hunan CSP-J/S first prize, which of the four major universities in Changsha is the strongest in programming

My son sets his goal for next year’s CSP: to win first prize in Group J and aim for top two in Group S

At the end of the article, I will attach a small game code that my son wrote himself

#include<bits/stdc++.h>
#include <conio.h>
using namespace std;
char a[29][5]={{'#' ,'#' ,'.' ,'#' ,'#'},{'#' ,'o' ,'.' ,'.' ,'#'},{'#' ,'#' ,'.' ,'#' ,'#'},{'#' ,'.' ,'.' ,'.' ,'.'},{'#' ,'#' ,'#' ,'#' ,'.'},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '},{' ' ,' ' ,' ' ,' ' ,' '};

int main(){
	char c;
	for(int i=0;i<29;i++){
		for(int j=0;j<5;j++)cout<<a[i][j];
		cout<<endl;
	}
	int ex=1,ey=1;
	while(c=_getch()){
		if(a[4][4]=='o'){
			cout<<"Victory";
			return 0;
		}
		if(c=='w'&&a[ex-1][ey]!='#'){
			a[ex-1][ey]='o';
			a[ex][ey]='.';
			ex-=1;
		}else if(c=='a'&&a[ex][ey-1]!='#'){
			a[ex][ey-1]='o';
			a[ex][ey]='.';
			ey-=1;
		}else if(c=='d'&&a[ex][ey+1]!='#'){
			a[ex][ey+1]='o';
			a[ex][ey]='.';
			ey+=1;
		}else if(c=='s'&&a[ex+1][ey]!='#'){
			a[ex+1][ey]='o';
			a[ex][ey]='.';
			ex+=1;
		}
		for(int i=0;i<29;i++){
			for(int j=0;j<5;j++)cout<<a[i][j];
			cout<<endl;
		}
	}
	return 0;
}

Leave a Comment