当前位置:网站首页>2788.Cifera
2788.Cifera
2022-06-28 19:29:00 【Yuyy】
本文最后更新于 1170 天前,其中的信息可能已经有所发展或是发生改变。
// 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
边栏推荐
- 行业分析| 快对讲,楼宇对讲
- How does win11 slim down the system disk? Slimming method of win11 system disk
- MDM数据分析功能说明
- R语言GLM广义线性模型:逻辑回归、泊松回归拟合小鼠临床试验数据(剂量和反应)示例和自测题
- How to change the status bar at the bottom of win11 to black? How to change the status bar at the bottom of win11 to black
- 首部元宇宙概念小说《元宇宙2086》获得2022年上袭元宇宙奖
- 多测师肖sirapp中riginal error: Could not extract PIDs from ps output. PIDS: [], Procs: [“bad pid
- Can only one task be submitted by one table if the flinkcdc is submitted by flinksql? When there are thousands of watches
- 论文3 VScode&texlive&SumatraPDF打造完美书写论文工具
- 使用点云构建不规则三角网TIN
猜你喜欢

视差js特效js轮播图插件

easypoi

变分自编码器 (Variational Autoencoders, VAEs)

如何通过W3school学习JS/如何使用W3school的JS参考手册

电脑如何检查驱动程序是否正常

Nanopc-t4 (rk3399) Game1 OLED (I2C) display time weather temperature

《数据安全法》出台一周年,看哪四大变化来袭?

数据基础设施升级窗口下,AI 新引擎的技术方法论

Group programming TIANTI competition exercise - continuously updating

How does the computer check whether the driver is normal
随机推荐
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
Live app system source code, automatically playing when encountering video dynamically
Paper notes: universal value function approvers
Analysys analytics' 2022 China Banking privacy computing platform supplier strength matrix analysis' research activity was officially launched
H5 sunflower operation
Bayesian inference problem, MCMC and variational inference
Web3 that unleashes the value of the Internet
return new int[]{i + 1, mid + 1};return {i + 1, mid + 1};
mysql全解 Ubuntu/win10
JVM memory structure
Bayesian inference problem, MCMC and variational inference
MDM数据分析功能说明
Markdown绘图mermaid实用教程
Installation and configuration of CGAL in PCL environment 5.4.1
100人成绩的平均
内核错误怎么解决?Win11系统内核错误解决方法
Upward and downward transformation
matlab 受约束的 Delaunay 三角剖分
Can py SQL get the table structure?
Technical methodology of new AI engine under the data infrastructure upgrade window