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

附上简短的AC代码一份

Posted by yousiki at 2016-06-06 18:02:13 on Problem 1503
import java.util.*;
import java.math.*;
public class Main {
	public static void main(String args[]){
		Scanner in=new Scanner(System.in);
		BigInteger ans=BigInteger.ZERO;
		while(in.hasNextBigInteger())
			ans=ans.add(in.nextBigInteger());
		System.out.print(ans.toString(10));
		in.close();
	}
}

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