• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
startgo
博客园 首页 新随笔 联系 订阅 订阅 管理

2013年1月30日

LA 3263
摘要: 1 #include<stdio.h> 2 #include<math.h> 3 #include<algorithm> 4 #include<iostream> 5 using namespace std; 6 struct Point { 7 double x, y; 8 Point(double x = 0, double y = 0) : x(x) , y(y) {} 9 }; 10 typedef Point Vector; 11 Vector operator + (Vector A, Vector B) { return Vecto 阅读全文
posted @ 2013-01-30 11:54 startgo 阅读(130) 评论(0) 推荐(0)
 
Uva 11178
摘要: 1 #include<stdio.h> 2 #include<math.h> 3 #include<complex> 4 using namespace std; 5 struct Point { 6 double x, y; 7 Point(double x = 0, double y = 0) : x(x) , y(y) {} 8 }; 9 typedef Point Vector;10 Vector operator + (Vector A, Vector B) { return Vector(A.x + B.x, A.y + B.y);}11 Vec 阅读全文
posted @ 2013-01-30 10:27 startgo 阅读(213) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3