Analysis of the open source library of Miracle cryptographic algorithm: mrarth2.c

2021SC@SDUSC Application and practice of software engineering in school of software, Shandong University   1. mrarth2.c structure The overall structure of mrath2.c is as follows. It mainly implements divide(), divisible(), mad(), multoply(), normalize (), and several important functions in the miracl open source library. This blog is to read ...

Added by pkellum on Wed, 27 Oct 2021 20:00:44 +0300

How to write a programming language yourself (first experiment in Unix system programming / U language interpretive language)

1. Experimental Requirements 1. Goals Implement an interpretive language, Ulanguage, in C, so that it can be executed in the terminal Java and Python are explanatory languages that require an interpreter to interpret execution at execution time - interpret an instruction when you see it (advantages: cross-platform; disadvantages: ineffici ...

Added by neh on Wed, 27 Oct 2021 19:48:44 +0300

Codeforces Round #750 (Div. 2) A.B.C.D

Four Checked-in Issues ~~~ A.Luntik and Concerts Headline: Given three integers a , b , c a,b,c a,b,c, which represent the numbers you have now ...

Added by mwood_2k2 on Wed, 27 Oct 2021 19:42:16 +0300

Fundamentals of C language programming (simple algorithm)

catalogue preface                1,Hello world!                 2. Piecewise function       3. Cumulative calculation from 1 to n (use the for loop and save the cumulative sum with the variable sum)       4. The cumulative variant changes the symbol for operation (for ...

Added by ngreenwood6 on Wed, 27 Oct 2021 18:06:25 +0300

C language_ Chapter 1. C language data types and statements

Chapter I data types and statements of C language 1.1 my first C language program #include <stdio.h> // The header file contains stdio. H, which is the standard input and output header file of C language int main() // Every complete C program has and has only one main function, and the C program is executed from main { // In C languag ...

Added by damien@damosworld.com on Wed, 27 Oct 2021 16:12:54 +0300

[day ⑥ of hero learning algorithm] counting method -- with Leetcode problem solution (implemented in C language)

✨ preface ✨         In this series, bloggers are ready to share the algorithm of punching in and learning in the community of 10000 people and 1000 questions every day. Bloggers are also Xiaobai, so they can understand the confusion of novices when brushing questions, so pay attention to bloggers and learn an algorithm ev ...

Added by jobe1 on Wed, 27 Oct 2021 09:32:39 +0300

Introduction to C language 8: introduction to structure

1. What is the structure? Array is a set of data with the same order and type. What if we want to put several different types of data together? Arrays are multiple variables of the same type bound together; Structures are multiple variables of different types tied together. For example, the name, age and grade of a student are composed of ...

Added by shatztal on Wed, 27 Oct 2021 04:57:00 +0300

GPIO input drive experiment - key control

GPIO input drive experiment - key control Write before: Like beep experiment, just add functions to the existing engineering framework, Chong!!! By the way, the gpio operation will be written into a function set for easy calling. Please pay attention. 1. Create new key and gpio folders under bsp First, let's start with a GPIO operation ...

Added by dta on Tue, 26 Oct 2021 14:46:00 +0300

JAVA one-dimensional array object, array declaration initialization, NullPointerException, null pointer exception, Arrays class method and four shallow copies

0. Get familiar with one-dimensional array   Array: a collection (container) of elements of the same data type. An array is a contiguous space that stores the same data type in memory. Memory is continuous. For example, if you declare array a, on array a,   You can access his properties or call some of his methods. Basically, it can ...

Added by malcome_thompson on Mon, 25 Oct 2021 13:00:23 +0300

Summary of C Language String Operation Functions

1. strcpy function Syntax: strcpy(str1,str2) Function: Copy the string str2 to the string str1, and override the STR1 original string, which can be used to assign values to string variables. Return: str1 Be careful: (1). The string str2 will cover all the characters in str 1; (2) The length of the string STR 2 cannot exceed str1; (3) Cop ...

Added by chooseodie on Wed, 20 Oct 2021 19:09:07 +0300