2018 Blue Bridge Cup clear code problem Java detailed explanation (one of the solutions, the complete code is at the end of the article)
Title:
This question is a blank filling question. You only need to calculate the result and use the output statement in the code to output the filled result.
The glyphs of Chinese characters exist in the font library. Even today, the 16 # dot matrix font library is still widely used.
16. The font of dot matrix regards each Chinese character ...
Added by neroag on Mon, 07 Mar 2022 16:48:18 +0200
Java process control_ 004
java Basics
4, Process control
4.1. Basic structure
Sequential structure
The command line is executed sequentially Branch structure (select structure)
Different results can be obtained by selecting different execution processes according to conditions category
Single branch statement if–else
Multi branch statement ...
Added by knz on Sun, 06 Mar 2022 11:33:43 +0200
Day code 300 lines learning notes Day 10
1. Integrated task I
Task content: Students' scores are stored in a matrix, where rows represent students and lists show subjects. For example, the 0 th line of Chinese and English indicates the student's score. Task requirements:
1. Random generation of student scores, with an interval of [50, 100].
2. Find the best and worst students. Howe ...
Added by robburne on Sat, 05 Mar 2022 14:13:55 +0200
Java learning Chapter 5
Video link: https://www.bilibili.com/video/BV1Rx411876f?p=1
Video range P576 - P583
1. Bubble sorting algorithm
After each cycle, find the largest data and put it on the far right of the pile of data involved in the comparison. (the biggest bubble)Core: compare the number on the left with the number on the right. When the left > right, ...
Added by herando on Fri, 04 Mar 2022 11:07:40 +0200
Java_ Self writing byte buffer stream, input stream and output stream for data transmission
Java_ Self writing byte buffer stream for data transmission
I. byte buffered output stream
java.io.BufferedOutputStream extends OutputStream
BufferedOutputStream: byte buffered output stream.
Common member methods inherited from parent class:
public void close(): close this output stream and release any system resources associated ...
Added by black.horizons on Thu, 24 Feb 2022 10:34:08 +0200
Three hundred lines of Java per day (01-02 days, environment construction and basic syntax)
Three hundred lines of Java per day (01-02 days, environment construction and basic syntax)
Note: here are the synchronous notes and records of JAVA self-study and understanding. If you have any questions, please correct them
@[TOC] (article directory)
preface
At the undergraduate stage, I have never been in contact with java, so the lan ...
Added by ares on Mon, 21 Feb 2022 18:59:41 +0200
eclipse learning (Chapter 2: getting to know ssh) - 15 Struts 2 theme and template (just understand)
termdescribetag (label)A small piece of code executed from within JSP, FreeMarker, or Velocity.templateSome code, usually written on FreeMarker, can be rendered by some tags (HTML tags).themeA collection of templates encapsulated together to provide common functionality.
When you use struts 2 Tags in Web pages (such as < s: submit... > ...
Added by mirana on Wed, 09 Feb 2022 08:45:12 +0200
Arch installs eclipse Jee and configures tomcat - Dynamic Web Project
text
Software engineering needs to use jsp to develop and write websites. The teacher's PPT requires SVN, Tomcat and MyEclipse. Svn is a centralized version controller. I plan to replace it with Git. It is said that Tomcat can be replaced with Nginx, and I will try again later; There are many cracked versions of MyEclipse on the Internet, but ...
Added by cbullock on Tue, 08 Feb 2022 06:16:44 +0200
695. Maximum area of the island (Likou) - JAVA - detailed explanation of depth first search and breadth first search
I Title Description
Give you a binary matrix grid of size m x n. Islands are a combination of adjacent ones (representing land). The "adjacent" here requires that two ones must be adjacent in four horizontal or vertical directions. You can assume that all four edges of the grid are surrounded by 0 (representing water). The area of ...
Added by yrrahxob on Thu, 03 Feb 2022 14:46:01 +0200
Java EE basics Chapter 13 IO flow
Chapter 13 IO flow
Use of File class
1. An object of file class, which represents a file or a file directory (commonly known as folder)
2. The file class is declared in Java Under IO package
3. The file class involves the creation, deletion, renaming, modification time, file size and other methods of files or file directories, and does not ...
Added by altexis on Thu, 03 Feb 2022 02:29:02 +0200