| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
我就可以……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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator