10499
只要注意到long long就行了。
//============================================================================ // Name : 10499.cpp // Author : // Version : // Copyright : Your copyright notice // Description : Hello World in C++, Ansi-style //============================================================================ #include <iostream> #include <cstdio> using namespace std; long long n; int main() { while(scanf("%lld", &n)&&n >= 0){ if(n <= 1) printf("0%%\n"); else printf("%lld%%\n", n*25); } return 0; }