CodeForces Experimental Educational Round: VolBIT Formulas Blitz A. Again Twenty Five!
2016-02-19 09:08
519 查看
A. Again Twenty Five!
time limit per test
0.5 seconds
memory limit per test
64 megabytes
input
standard input
output
standard output
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, ncan
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?
Input
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.
Output
Output the last two digits of 5n without
spaces between them.
Examples
input
output
输出5^n的后两位数
time limit per test
0.5 seconds
memory limit per test
64 megabytes
input
standard input
output
standard output
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, ncan
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?
Input
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.
Output
Output the last two digits of 5n without
spaces between them.
Examples
input
2
output
25
输出5^n的后两位数
print(25)
相关文章推荐
- hdu 2674 N!Again
- 对话DeepMind创始人:建立通用人工智能
- A. Again Twenty Five
- 签名APK后仍然出现INSTALL_PARSE_FAILED_NO_CERTIFICATES的解决方案
- HDU 3394 Railway 点双连通分量
- HDU 4300 Clairewd’s message
- 用find_if查找vector内对象的成员 http://blog.csdn.net/zhongguoren666/article/details/7629610
- STL中的find_if函数 http://blog.csdn.net/hj490134273/article/details/6051080
- sendEmail:出现的错误
- 1090. Highest Price in Supply Chain (25)
- HDU 5293 Tree chain problem - 树形dp&树状数组优化
- zabbix使用sendEmail发送告警邮件
- Organize Your Train part II POJ 3007 (哈希&链式解决冲突)
- C/C++程序中的profile http://blog.csdn.net/cnjet/article/details/2617403
- 11. Container With Most Water
- aidl引用类作为函数的返回值
- INSTALL_FAILED_OLDER_SDK
- grails一对一关联关系
- GDAL应用-gdal_merge.py
- ORA-00245: control file backup failed; target is likely on a local file system