CF630A.Again Twenty Five!

入门

通过率:0%

时间限制:0.50s

内存限制:64MB

AC君温馨提醒

该题目为【codeforces】题库的题目,您提交的代码将被提交至codeforces进行远程评测,并由ACGO抓取测评结果后进行展示。由于远程测评的测评机由其他平台提供,我们无法保证该服务的稳定性,若提交后无反应,请等待一段时间后再进行重试。

题目描述

The HR manager was disappointed again. The last applicant failed the interview the same way as 24 previous ones. "Do I give such a hard task?" — the HR manager thought. "Just raise number 5 to the power of n and get last two digits of the number. Yes, of course, n can be rather big, and one cannot find the power using a calculator, but we need people who are able to think, not just follow the instructions."

Could you pass the interview in the machine vision company in IT City?

人力资源经理再次失望了。最后一位应聘者与此前24位一样,面试失败。“我出的题真的这么难吗?”人力资源经理心想,“只要将数字5的 n 次方求出来,再取结果的最后两位数字即可。没错,当然,n 可能非常大,无法用计算器直接计算幂,但我们需要的是善于思考的人,而不是只会按指令行事的人。”

你能在IT城的一家机器视觉公司通过这场面试吗?

输入格式

The only line of the input contains a single integer n (2 ≤ n ≤ 2·1018) — the power in which you need to raise number 5.

输入仅包含一行,其中有一个整数 $ n (( 2 \leq n \leq 2 \cdot 10^{18} $)——即你需要将数字 5 提升到的幂次。

输出格式

Output the last two digits of 5_n_ without spaces between them.

输出 5n5_n 的最后两位数字,中间不加空格。

输入输出样例

  • 输入#1

    2

    输出#1

    25

输入解题思路,AI测评打分。不知道怎么写?

首页