当前位置:网站首页>2788.Cifera
2788.Cifera
2022-06-28 19:50:00 【Yuyy】
This paper is finally updated at 1170 Days ago, , The information may have developed or changed .
// 2788.Cifera.cpp : ¶¨Òå¿ØÖÆÌ¨Ó¦ÓóÌÐòµÄÈë¿Úµã¡£
//
//#include "stdafx.h"
#include<iostream>
using namespace std;
int main()
{
double k, l, sum;
int count;
count = 0;
cin >> k >> l;
sum = k;
while (1)
{
if (sum == l)
{
cout << "YES" << endl;
cout << count<<endl;
break;
}
else if (sum > l)
{
cout << "NO"<<endl;
break;
}
else
{
sum = sum*k;
count++;
}
}
return 0;
}Post Views: 236
边栏推荐
- Installation and configuration of CGAL in PCL environment 5.4.1
- Industry analysis - quick intercom, building intercom
- 首部元宇宙概念小说《元宇宙2086》获得2022年上袭元宇宙奖
- Chunfeng power and Huawei work together to build a smart Park benchmark, and the future factory innovation will reach a new level
- Average score of 100 people
- 为什么C语言用使用其他文件的结构体变量时,声明结构体别名还不行,必须使用本名?(使用别名时不能加struct)
- I just bought the ADB MySQL service. Every time I do an operation, such as creating a table, this problem will pop up. What is the problem?
- Markdown Mermaid planting grass (1)_ Introduction to Mermaid
- H5 sunflower operation
- 颜色渐变的FontAwesome图标
猜你喜欢

5g NR MBS architecture introduction

ArrayList of collection

团体程序设计天梯赛练习题-持续更新中

There are thousands of roads. Why did this innovative storage company choose this one?

Markdown Mermaid planting grass (1)_ Introduction to Mermaid

阿里开源(EasyExcel)

【324. 摆动排序 II】

Redis 如何实现库存扣减操作?如何防止商品被超卖?

集合之ArrayList

Bayesian Reference problem, mCMC and variational reference
随机推荐
April 10, 2022 -- take the first step with C -- use C from Net class library call method (not understood)
F (x) construct the equation, calculate the partial derivative by gradient descent, determine the partial derivative adjustment by loss function, and deal with nonlinear problems by activation functio
How strong a mathematical foundation does deep learning need?
Nanopc-t4 (rk3399) Game1 OLED (I2C) display time weather temperature
论文阅读:Duplex Contextual Relation Network for Polyp Segmentation
Intelligent computing system 1 environment construction
Variational graph auto-encoders (VGAE)
kettle(六):基于Kettle的数据库全量备份
机器学习笔记 temperature+Softmax
Kaggle腸胃道圖像分割比賽baseline
How does win11 slim down the system disk? Slimming method of win11 system disk
直播app系统源码,动态遇到视频时开始自动播放
Severity code description project file line suppress status error lnk2038 detected a mismatch of "runtimelibrary": the value "md\u dynamicrelease" does not match the value "mdd\u dynamicde"
春风动力携手华为打造智慧园区标杆,未来工厂创新迈上新台阶
如何通过W3school学习JS/如何使用W3school的JS参考手册
Rigid error: could not extract PIDs from PS output PIDS: [], Procs: [“bad pid
判断字符串是否为空
I. The HR system is put on the enterprise wechat ISV to enhance the in-depth application of enterprise wechat in service chain retail and other industries
matlab 受约束的 Delaunay 三角剖分
Echart: category text position adjustment of horizontal histogram