当前位置:网站首页>Determination of ranking
Determination of ranking
2022-06-13 08:10:00 【Stupid little bird learning code】
int main()
{
int a = 0;
int b = 0;
int c = 0;
int d = 0;
int e = 0;
for(a = 1;a<=5;a++)
{
for(b=1;b<=5;b++)
{
for(c=1;c<=5;c++)
{
for(d=1;d<=5;d++)
{
for(e=1;e<=5;e++)
{
if(((b==2) + (a==3) == 1)
&& ((b==2) + (e==4) == 1)
&& ((c==1) + (d==2) == 1)
&& ((c==5) + (d==3) == 1)
&& ((e==4) + (a==1) == 1))
{
if(a*b*c*d*e == 120)
printf("a=%d b=%d c=%d d=%d e=%d\n",a,b,c,d,e);
}
}
}
}
}
}
return 0;
}边栏推荐
- 23 | adventure and prediction (II): relay race in the assembly line
- Practice makes sense -- your byte alignment and stack cognition may be wrong
- Selenium foundation API
- The way of distributed system: Lamport logical clock
- Create a substrate private network
- Go 接口实现原理【高阶篇】: type _interface struct
- 获取类的属性
- 第115页的gtk+编程例子——最简单的进度条2附带使用Anjuta写gtk程序的步骤
- 平面合并(MATLAB)
- JMeter UDP pressure measurement
猜你喜欢

Dfinity (ICP) basic development tutorial-5

免费文件服务器储存技术

ERP basic data Huaxia

【博弈论-完全信息静态博弈】 Nash均衡的应用

Selenium reports an error deprecationwarning: executable_ path has been deprecated, please pass in a Service object

酒水批发行业应当如何高效管理商品与库存

6. fabric2.2 stop clustering and delete data (use the official demo)

本地靶场2-文件上传漏洞(三)-网络安全

【博弈论-完全信息静态博弈】 Nash均衡

17 | establish data path (upper): instruction + operation =cpu
随机推荐
STM32CubeMX的下载和安装方式
Free file server storage technology
Data warehouse data processing and data flow
MySQL table partitioning
How to dynamically delete data rows in a table through JS (keep the head)
批发商为什么要使用订单系统
水仙花升级版(自幂数)
Give code vitality -- the way to read code neatly
[MySQL] methods for troubleshooting lock related problems
[an example of MySQL startup error] innodb: failed to create check sector file, errno:13
Local shooting range 2- file upload vulnerability (III) - Network Security
安装CUDA+CUSP环境,并创建第一个HelloWord入门工程
20 | pipeline oriented instruction design (Part 1): Modern CPU with multi-purpose
es6删除对象的某个属性
[MySQL] rapid data deletion recovery tool - binlog2sql
udf_ interval_ to_ Hourno() function
Selenium reports an error deprecationwarning: executable_ path has been deprecated, please pass in a Service object
Recognition of COVID-19 based on paddlepaddle
[pytorch] pytorch0.4.0 installation tutorial and GPU configuration collection (including test code)
Overall process analysis of account book operation in fabric0.6