当前位置:网站首页>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 to remove dataframe field column names
- Parallax JS special effect JS carousel map plug-in
- MDM data analysis function description
- Bayesian inference problem, MCMC and variational inference
- 多测师肖sirapp中riginal error: Could not extract PIDs from ps output. PIDS: [], Procs: [“bad pid
- 首部元宇宙概念小说《元宇宙2086》获得2022年上袭元宇宙奖
- Paper notes: universal value function approvers
- 机器学习笔记 temperature+Softmax
- matlab 受约束的 Delaunay 三角剖分
- Tencent tangdaosheng: facing the new world of digital and real integration, developers are the most important "architects"
猜你喜欢

Grafana biaxial graph with your hands

Bayesian inference problem, MCMC and variational inference

5G NR MBS架构介绍

Industry analysis - quick intercom, building intercom

为什么C语言用使用其他文件的结构体变量时,声明结构体别名还不行,必须使用本名?(使用别名时不能加struct)

腾讯汤道生:面向数实融合新世界,开发者是最重要的“建筑师”

Bayesian inference problem, MCMC and variational inference

In which industries did the fire virtual human start to make efforts?

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

On the first anniversary of the data security law, which four major changes are coming?
随机推荐
G biaxial graph SQL script
Bayesian inference problem, MCMC and variational inference
matlab 二维或三维三角剖分
100人成绩的平均
There are thousands of roads. Why did this innovative storage company choose this one?
视频压缩处理之ffmpeg用法
数据库学习笔记(SQL04)
SQL calculates daily new users and retention rate indicators
How to remove dataframe field column names
Paper 3 vscode & texlive & sumatrapdf create a perfect tool for writing papers
Variable autoencoders (vaes)
论文阅读:Duplex Contextual Relation Network for Polyp Segmentation
PCL calculation of center and radius of circumscribed circle of plane triangle
释放互联网价值的 Web3
Double contextual relationship network for polyp segmentation
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?
MDM data analysis function description
智能计算系统2 bangc算子开发的demo (CPU和MLU270的异构编程流程)
图神经网络入门 (GNN, GCN)
Variational graph auto-encoders (VGAE)