Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

提供一个打pow(3, x)表的小程序 ^_^

Posted by qiqilrq at 2007-05-16 11:34:40 on Problem 1702
#include <iostream>
using namespace std;

int main()
{
	freopen("table.txt", "w", stdout);
	int n=1, i=1;
	for(; i<=20; i++, n*=3)
	cout<<n<<',';
	return 0;
}

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator