The code in this article will be copied. At present, a new database, called source code database, has been added to the comparison database of HowNet duplicate checking system. As the name implies, it is specially used for source code comparison and supports the detection of cpp, java, py and other source codes.
The process of source code detection is as follows: first, call the preprocessor to kill comments, expand macros, and mark the stdlib.h waves specially coming in, and then establish CFG (Control Flow Diagram) to check the duplication of HowNet.
Did the code in the paper pass the exam again?
In fact, the code belongs to one of the categories of paper duplicate checking, but if it is a word version, it will not be repeated by using the WPS formula editor. If the PDF version is submitted, the code part will be repeated. In addition, the codes of some disciplines are the same and will be checked again. After all, the code belongs to the main body of the paper, and duplicate checking is necessary.
After the number of repetitions exceeds the control range, it will also be marked as red, which will affect the duplicate checking rate of the paper. HowNet has been updated rapidly in recent years. In the latest version of HowNet duplicate checking system, a new source code library is added, which is very complete and can support the detection and comparison of cpp.java.py and other source codes.
How to reduce the weight of the code in the paper?
For some codes with high duplicate checking rate in the paper, I suggest you convert them into pictures. The simple operation is to take a screenshot of the original content and reinsert it into the paper. In addition to converting into pictures, you can also delete codes with high duplicate checking rate or express them in other forms, but pay attention to whether the codes are written correctly.
If the duplicate checking rate of the reference code is high, it is probably caused by the format error set in the reference part, and the format needs to be adjusted. The originality of the code is also very important, try to write the code independently; For some codes with high repetition rate, it should be used as little as possible.