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;
}

  

posted @ 2011-07-25 08:18  KOKO's  阅读(268)  评论(0编辑  收藏  举报