Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 731465
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T07:01:47+00:00 2026-05-14T07:01:47+00:00

For given integers N and K (1 <= N, K <= 2000000000) you have

  • 0

For given integers N and K (1 <= N, K <= 2000000000) you have to find the number of digits of N^K.

Is there any formula or something ? Because I tried solving it by simply powering N**K but it’s not working for large values and the program simply freezes because of the calculations. I am looking for some fast way maybe some math formula like I said before.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T07:01:47+00:00Added an answer on May 14, 2026 at 7:01 am

    The 10 base log of N should give you the number of digits in it. This must be enough as a hint 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Given an array of integers ,You have to find two elements whose XOR is
Given an array A of integers, find any 3 of them that sum to
Given some short integers and the dates they represent, is there any systematic method
Given two integers is there an easy way to find the largest modulus of
Given two positive integers x and y, I need to find the next number
There is a file that contains 10G(1000000000) number of integers, please find the Median
This problem is taken from interviewstreet.com Given array of integers Y=y1,...,yn, we have n
I have a set of given integers: A[] = { 2, 3, 4, 5,
Given two integers a and b , is there an efficient way to test
Suppose there are given two integers, a and b, and we know that a>b.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.