标签:
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc=new Scanner(System.in); int n=0;int m=0; for(int i=0;i<10;i++){ n+=sc.nextInt(); m+=sc.nextInt(); } System.out.println(n+"+"+m+"i"); } }
标签:
原文地址:http://www.cnblogs.com/watchfree/p/5345798.html