2016年1月28日
摘要: Problem Description 一个整数,只知道前几位,不知道末二位,被另一个整数除尽了,那么该数的末二位该是什么呢?Input 输入数据有若干组,每组数据包含二个整数a,b( 0=0)&&((b*i)-a<100)){ if((b*i... 阅读全文
posted @ 2016-01-28 21:38 cnxo 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Problem Description 正整数A是否能被正整数B整除,不知道为什么xhd会研究这个问题,来帮帮他吧。Input 输入数据的第一行是一个数据T,表示有T组数据。 每组数据有两个正整数A和B(A,B0){ int a = sc.nextInt();... 阅读全文
posted @ 2016-01-28 20:56 cnxo 阅读(78) 评论(0) 推荐(0) 编辑
摘要: Problem Description There are some students in a class, Can you help teacher find the highest student .Input There are some cases. The first ... 阅读全文
posted @ 2016-01-28 20:52 cnxo 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Problem Description Given two rectangles and the coordinates of two points on the diagonals of each rectangle,you have to calculate the area ... 阅读全文
posted @ 2016-01-28 20:20 cnxo 阅读(151) 评论(0) 推荐(0) 编辑