1154. Easy sortDescriptionYou know sorting is very important. And this easy problem is:Given you an array with N non-negative integers which are smaller than 10,000,000, you have to sort this array. Sorting means that integer with smaller value
1388. QuicksumDescriptionA checksum is an algorithm that scans a packet of data and returns a single number. The idea is that if the packet is changed, the checksum will also change, so checksums are often used for detecting transmission errors,
1035. DNA matchingDescriptionDNA (Deoxyribonucleic acid) is founded in every living creature as the storage medium for genetic information. It is comprised of subunits called nucleotides that are strung together into polymer chains. DNA polymer
#include <iostream> //優先順序隊列實現dijkstra演算法很方便#include <cstring>#include <queue>using namespace std;class Path{public: int i, j; int dist; Path( int a, int b, int c ) { i = a; j = b; dist = c; } friend bool
2038. String ReversionDescription Given a valid identifier in C programs, please write a program to reverse it by respectively reversing two parts separated by ‘_’.Input The first line is an integer m, indicating the number of test cases.Then there
1036. Crypto ColumnsDescriptionThe columnar encryption scheme scrambles the letters in a message (or plaintext) using a keyword as illustrated in the following example: Suppose BATBOY is the keyword and our message is MEET ME BY THE OLD OAK TREE.