Solutions to group C/C++A questions of the 11th Blue Bridge Cup in 2020 (excluding the last two questions)
A house plate making
Title Description
Calculate the number of characters 2 from 1 to 2020.
thinking
The amount of data is very small, direct violence, and the number of 2 can be counted for each number.
code
#include<iostream>
#include<algorithm>
using namespace std;
int main()
{
int ans = 0;
for (int i = 1; i <= 2020; i ...
Added by sbinkerd1 on Thu, 10 Feb 2022 13:55:01 +0200
Write a dedicated blessing applet in Java: everyone sweeps out dedicated blessings
1. Foreword Origin of "blessing": when Jiang Taigong granted a large number of immortals, he granted his wife Ye as a poor God and told her, "you can't go to blessed places." Since then, every family has pasted the word "blessing" for the new year, which is to tell the poor God that I am a blessed place here. You m ...
Added by AlGale on Thu, 10 Feb 2022 13:54:57 +0200
Vue listener and compute properties
Part I knowledge review:What is Vue?Two principles and Realization of VueVue's six instructionsVue's filterSummary of this articleWhat is a watch listener?What are calculation properties?Use of Vue cli scaffold1, watch listener1. Introduction:The watch listener allows developers to monitor the changes of data, so as to do specific operations fo ...
Added by jemrys on Thu, 10 Feb 2022 13:53:02 +0200
Using vCard to scan code and save personal information to address book
1, Function
Using vCard to scan code and save personal information to address book
2, vCard
1. Simple understanding
vCard is the file format standard of electronic business card. It is usually attached to e-mail, but it can also be used in other occasions (such as exchanging with each other on the Internet). vCard can contain informatio ...
Added by basheer12m on Thu, 10 Feb 2022 13:51:28 +0200
Edge based and region based segmentation using Python
In this article, I will focus on edge based and region based segmentation techniques. Before entering the details, we need to understand what segmentation is and how it works.divisionImage segmentation is a technology that divides digital images into various image objects.Each pixel in a region (image object) is similar in some attributes, such ...
Added by valen53 on Thu, 10 Feb 2022 13:50:40 +0200
Basic syntax of Python
1.python interpreter type
1.cpython:c language development
2.jpython: java language development
3.Ironpython:.net language development
2. Composition of programs in Python
The program is composed of modules
The module contains statements, functions, classes, etc
Statement contains an expression
The expression establishes and processe ...
Added by vandutch on Thu, 10 Feb 2022 13:46:29 +0200
Interact with Flow using Javascript
This article assumes that the reader is a developer familiar with JavaScript and React[1], has a certain understanding of Flow[2], or is familiar with the concepts related to Flow smart contract language Cadence[3].
Through this article, we will be familiar with and build a local development environment, and use JavaScript to complete the ca ...
Added by ljschrenk on Thu, 10 Feb 2022 13:45:29 +0200
21 year Blue Bridge Cup provincial title Java group C
#F time display
Time limit: 1.0s memory limit: 512.0MB total score: 15} points
Problem description
Xiaolan wants to cooperate with her friends to develop a time display website. On the server, the friend has obtained the current time, which is expressed as an integer. The value is the number of milliseconds from 00:00:00 on January 1, ...
Added by Xoid on Thu, 10 Feb 2022 13:40:54 +0200
yolov5 complete solution - one text customs clearance
preface
The configuration process of yolov5 is generally OK, but most blogs on the Internet do not carefully introduce the specific steps. This paper will record the whole process of yolov5 environment configuration under Windows 10 system from the most detailed level, as well as some details of yolov5 use, and how to make and train their own ...
Added by NathanS on Thu, 10 Feb 2022 13:40:10 +0200
An interesting example shows you the main difference between object-oriented programming and process oriented programming
Yesterday, a little friend asked me what is the main difference between object-oriented programming and process oriented programming. What are the advantages of object-oriented programming. For these two problems, we might as well give an example.
Scenario description
Xiaohao Shouzhuo bakery, who lives in Sichuan, is listed as follows:
Xiao ...
Added by lala on Thu, 10 Feb 2022 13:35:24 +0200