POJ1657-Distance on Chessboard
【题目来源】http://poj.org/problem?id=1657
【水题】
#include
#include
using namespace std;
int main()
{
int t;
cin>>t;
char x1,x2;
int y1,y2;
while (t--)
{
cin>>x1>>y1>>x2>>y2;
int dx=abs(x1-x2)
原创
2013-09-01 12:16:55 ·
483 阅读 ·
0 评论