, but also attract more and more resources into the field. In addition to application in the field of payment and finance, blockchain, as a centralized, shared, open and transparent digital ledger that does not require a single node to be trusted, is also being used in many fields such as the Internet of things, identity authentication, supply chain management, copyright management, and centralized application. Blockchain technology solves the proble
Problem DescriptionBow-type matrix for output n*mInput multiple sets of test dataInput 2 integers n and m (not greater than) output per groupThe bow matrix of the output n*m requires that the upper-left element is 1, (each element occupies 2 positions, on the right)Sample Input4 3Sample Output1 2 3 6 5 4 7 8 912 11 10My Code:1#include 2#include 3 using namespacestd;4 5 intMain ()6 {7 intm,n,i,p;8
as hardware raid, and features are not as good as hardware raid.
Next we will introduce various RAID technologies
I. RAID 0
The band technology is used to write data in parallel on multiple disks in bytes or bits (the starting offset of each disk is the same, and the subsequent segments of a certain number of bytes, i/O read/write performance can be improved, but it does not have data redundancy like raid1
Problem DescriptionEnter the year to determine if the leap yearsInputEnter an integer n (multiple sets of data)OutputIf it is a leap year, output Yes, otherwise output no (one row per group of data)Sample Input2000Sample OutputYesMy Code:1#include 2 intMain ()3 { 4 intYear ;5 while(SCANF ("%d", year)! =EOF)6 {7 8 if((year%4==0 year% -!=0) |
Problem DescriptionBull and Ox is a kind of card game, a total of 5 cards, the rules are as follows:If the sum of the points of 3 cards cannot be found is a multiple of 10, then there is no bull;If the sum of the points of 3 cards is a multiple of 10, then there are cows, the remaining two card points and 10 to take the remainder, the remainder is a few, is the number of cows, especially when the remainder is 0 cattle cattle;For example: 1 2 3 4 5, 1
Problem Description"Palindrome string" is a literal reading and anti-read all the same string, such as "level" or "noon" and so on is a palindrome string. Please write a program to determine whether the read-in string is a "palindrome".InputThe input contains multiple test instances, the first line of the input data is a positive integer n, which indicates the number of test instances followed by n strings. Each string length does not exceed 150.OutputIf a string is a palindrome, output "yes", o
Problem DescriptionWater problemInputEnter a 3-digit number (the title contains multiple sets of test data)OutputSeparates the 3-digit hundred, 10-bit, and single-digit, inverted output (one row of test data per group)Sample Input250Sample Output052HINTSeparating out the numbers, you can use the remainder and the divisor.Note that in C, 2 integers are multiplied except for the result or integer, such as 8/3 in the C language, and the result is 2.Use symbol% for remainderFor example, the result o
Technology implementationThis series consists of two articles, which describe several 0 copy technologies currently used on the Linux operating system, and simply describes the implementation of various 0 copy technologies, as well as their characteristics and application scenarios. The first part mainly introduces some background knowledge about
Problem Descriptionreturn matrix of Output n*mInputMultiple sets of test dataEnter 2 integers n and m per group (not greater than 20)OutputOutput n*m matrix, the upper left corner of the element is required to be 1, (each element occupies 2 positions, on the right)Sample Input4 3Sample Output1 2 310 4 9 5 8 7 61#include 2#include string.h>3#include 4 using namespacestd;5 intMain ()6 {7 intm,n,i,j,k,lastx,lasty;8 while(cin>>m>>N)9 {
uses the RPM method, the Debian-like system uses the DEB method, the BSD-like system uses the TAR method)3Test your packaged application software installation package on a test machine or test machine4) Deploy the package to the system that needs it5) Verify its health on the deployment server6if necessary, you can restore the previous system structure and configuration2. Create a standard document • File system list • Third-party software list note the version information • configuration file
Problem DescriptionEnter the coordinates of 2 points in the plane coordinate system to output the distance between themInputEnter 4 floating-point numbers x1 y1 x2 y2, respectively (x1,y1) (x2,y2) coordinates (multiple sets of data)OutputOutputs the distance between them, preserving 2 decimal places (one row per group of data)Sample Input1 0 2 0Sample Output1.001#include 2 3#include 4 5 6 7 intMain ()8 9 {
Problem DescriptionThere is a cow, which has a small cow at the beginning of each year. Each heifer starts its fourth year with a heifer. Please program implementation how many cows are there in the first n years?InputThe input data consists of multiple test instances, one for each test instance, including an integer n (0N=0 indicates the end of the input data and does not handle it.OutputFor each test instance, output the number of cows in the nth ye
Problem DescriptionWater problemInputEnter 2 dates, date by month date, month date by symbol-separated (topic contains multiple sets of data)OutputFind the number of days between these 2 dates (excluding itself), one row per group of test dataSample Input2011-1-12011-1-5Sample Output3HINTFor simplicity's sake, the assumption entered is 2 dates in the same month and the first date is less than the 2nd date.1#include 2 3 4 5 intMain ()6 7 {8 9
UFW Default Deny
Copy CodeLinux restart:root user restart can use the following command, but ordinary users do not.
Init 6
Copy CodeOrdinary users use the following command
sudo reboot
Copy CodeFive Tests whether the host and the virtual machine are ping through1. Set up the IP, it is recommended that you use the Linux interface, which is more convenient to set up. However, it is best to set the interfaces u
taste and smell must be delicious, salty and sweet, and have a special flavor of grilled freshwater fish without odor. Impurities are not allowed in the fish slices.
2. Moisture content: it must be in the range of 17-22%.
3. Microbial index: Pathogenic Bacteria (intestinal pathogens and pathogenic bacteria) should not be detected.
5. Storage
The finished product of freshwater fish slices should be placed in a clean, dry, shaded and ventilated place. When finished products are stacked in the bot
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.