当前位置:网站首页>Find the multiplication order of n
Find the multiplication order of n
2022-06-26 01:49:00 【So it is^^】
#include<stdio.h>
int main()
{
int n = 0;
scanf("%d", &n);
int a = 1; // hold a Set to 1 Not set to 0 Zero times any number is 0,0x1x2x3x4......
int i = 1; // Multiplication means 1x2x3x4x5......xn, Ride all the way to n
for (i = 1; i <= n; i++) // hold i Set to 1 Not set to 0 Zero times any number is 0,0x1x2x3x4......
{
a = a * i; // from 1 Ride to n
}
printf("%d", a);
return 0;
}边栏推荐
- Perfdog
- [visual studio code] vscode shortcut keys
- Summary of in-depth learning optimization techniques
- Simple making of master seal
- makefile 中export set ENV 的区别和作用
- Test questions and answers for the 2022 baby sitter (Level 5) examination
- Abnova丨ACTN4 DNA 探针解决方案
- One stop solution EMQ for hundreds of millions of communication of Internet of things
- 王老吉药业“关爱烈日下最可爱的人”公益活动在杭启动
- Sunshine boy chenhaotian was invited to be the spokesperson for the global finals of the sixth season perfect children's model
猜你喜欢

The answer skills and examples of practical cases of the second construction company are full of essence

论文阅读 Exploring Temporal Information for Dynamic Network Embedding

轻轻松松理解指针

20. Hough line transformation

丨EGFR FISH 探针解决方案

readv & writev

Sweet cool girl jinshuyi was invited to be the spokesperson for the global finals of the sixth season perfect children's model

Basic concepts of machine learning

How to add a "security lock" to the mobile office of government and enterprises?

Distributed systems (II) understanding of distributed transactions
随机推荐
Some summary of sequence model
The 19th - 22nd week of scientific research training - about tnet and memnet
GUN make (4) 规则的命令
Forgotten Jieba participle
Abnova丨CSV 单克隆抗体解决方案
easyexcel读取文件
What happens from entering a web address in the browser's input box to seeing the contents of the web page?
wifi 相关知识详解
元气少女王钰洁 受邀担任第六季完美童模全球总决赛代言人
Dataframe to list
Model integration and cascading
Redis的使用
Web Testing
cyclegan:unpaired image-to-image translation using cycle-consistent adversarial network
胰蛋白酶的化学性质及应用
PTA class a simulation bomb 10: 1119-1123
Code coverage test (I)
Sunshine boy chenhaotian was invited to be the spokesperson for the global finals of the sixth season perfect children's model
2022 documenter general basic (documenter) exam simulation 100 questions and online simulation exam
Fasttext knowledge points summary