当前位置:网站首页>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;
}边栏推荐
- Maze walking
- JQ user defined attribute value
- The answer skills and examples of practical cases of the second construction company are full of essence
- cyclegan:unpaired image-to-image translation using cycle-consistent adversarial network
- Exploring temporary information for dynamic network embedding
- 从在浏览器的输入框输入一个网址,到看到网页的内容,这个过程中发生了什么?
- GUN make (4) 规则的命令
- Data analysis - similarities and differences between C-end and b-end data analysis
- Dataframe converts the data type of a column
- PTA class a simulated sixth bomb: 1156-1159
猜你喜欢

分布式系统(二)分布式事务的理解

Simple making of master seal

清甜女孩李斯霞 受邀担任第六季完美童模全球总决赛小主持人

Viwi interface

readv & writev

俏皮少女王艺璇 受邀担任第六季完美童模全球总决赛推广大使

Postman断言对应脚本的解释

20. Hough line transformation

Principle of voice wake-up

Playful girl wangyixuan was invited to serve as the Promotion Ambassador for the global finals of the sixth season perfect children's model
随机推荐
Sweet girl lisixia was invited to be the little host of the global finals of the sixth season perfect child model
GNN (graph neural network) introduction vernacular
GUN make (7) 执行make
关于strlen与sizeof的区别
recv & send
判定积分给业务带来价值的两个指标
User unlock status query
蒟蒻初学单片机的一丢丢笔记
Dataframe extracts data from a column and converts it into a list
分布式系统(二)分布式事务的理解
22. pixel remapping
Abnova丨CSV 单克隆抗体解决方案
Show spirit chenzitong was invited to be the chief experience officer of the global finals of the sixth season perfect children's model
Postman断言对应脚本的解释
17.11 std::atomic续谈、std::async深入谈
Is it safe to log in the stock account on the flush? How to open a stock account in the flush
2022 explosion proof electrical operation certificate examination question bank and simulation examination
Some summary of sequence model
秀场精灵陈梓桐 受邀担任第六季完美童模全球总决赛首席体验官
leetcode 300. Longest increasing subsequence (medium)