码迷,mamicode.com
首页 > 其他好文 > 详细

HDU 2096: 小明A+B

时间:2017-08-13 01:15:02      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:out   style   http   --   font   nbsp   bsp   new   mon   

小明A+B

import java.util.*;
class Main{
public static void main(String args[])
{
Scanner scanner=new Scanner(System.in);
int T=scanner.nextInt();
while(T--!=0)
{
Long A=scanner.nextLong(),B=scanner.nextLong();
System.out.println((A+B)%100);

}
}

HDU 2096: 小明A+B

标签:out   style   http   --   font   nbsp   bsp   new   mon   

原文地址:http://www.cnblogs.com/zjnu/p/7352126.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!