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?
InputThe 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 the last two digits of 5n without spaces between them.
2
25
题意:给你一个数n让你输出5的n次方的后两位数 题解:打表发现规律5的所有的数的次方后两位都是25
#include<cstdio> int main() { int n; while(~scanf("%d",&n)) { printf("25\n"); } return 0; }