2017年8月9日

hdu_1037(水题水疯了。。。史上最水)

摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 int main() 6 { 7 int a[3]; 8 while(~scanf("%d%d%d",&a[0],&a[1],&a[2])) 9 { 10 sort(a,a+3); 11 if(a[0]>16... 阅读全文

posted @ 2017-08-09 16:49 若流芳千古 阅读(97) 评论(0) 推荐(0)

hdu_1033(我怎么找到的这么水的题,只为保存代码。。。)

摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 const int Max = 250; 7 int ansx[Max],ansy[Max]; 8 //0,1,2,3表示方向,顺时针标注 9 void ans(int tx,int ty, int dir,int id) 10 { 11 ... 阅读全文

posted @ 2017-08-09 16:39 若流芳千古 阅读(133) 评论(0) 推荐(0)

导航