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

我就可以……

Posted by LiZhiXu at 2008-04-08 08:07:00
In Reply To:Re:谁说不能用…… Posted by:zgw at 2008-04-07 22:19:52
Source Code

Problem: 1000  User: LiZhiXu 
Memory: 300K  Time: 0MS 
Language: GCC  Result: Accepted 

Source Code 
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>

int main() {
	char s[128];
	memset(s, 0, sizeof(s));
	char *p = itoa(1, s, 10);
	int a, b;
	while (scanf("%d %d", &a, &b) != EOF) {
		printf("%d\n", a + b);
		double len = hypot(a, b);
	}
	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