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

2016年2月27日

hdu 2029
摘要: PS: 逻辑问题... 代码: #include "stdio.h"#include "string.h"int main(){ char a[110]; int i,n,j,s; while(~scanf("%d",&n)){ for(i=0;i<n;i++){ scanf("%s",&a); s 阅读全文
posted @ 2016-02-27 17:40 庸人自扰扰 阅读(188) 评论(0) 推荐(0)
 
hdu 2028
摘要: PS:以前对long long型的数据就一直不怎么明白...弄了好久... long long a; scanf("%lld",&a); printf("%lld",a); 这样才行 代码:#include "stdio.h"void swap(long long *a,long long *b){ 阅读全文
posted @ 2016-02-27 17:19 庸人自扰扰 阅读(228) 评论(0) 推荐(0)
 
hdu 2037
摘要: PS: - -原本想的是排序开始时间和消耗时间。。后来想到可以排序结束时间..后来还wa了一次,因为排序的时候溢出了 思路: 1 3 //13 4 //20 7 3 8 2 9 5 10 //36 12 4 148 1810 15 //415 19 //515 20 代码:#include "std 阅读全文
posted @ 2016-02-27 15:56 庸人自扰扰 阅读(129) 评论(0) 推荐(0)
 
hdu 2036
摘要: Ps: - -感觉这道题完全就是数学题...就是求知道每个顶点的坐标,然后求这个多边形的面积... 代码:#include "stdio.h"#include "stdlib.h"#include "math.h"int main(){ int x[100],y[100]; int i,k,n; d 阅读全文
posted @ 2016-02-27 14:51 庸人自扰扰 阅读(212) 评论(0) 推荐(0)
 
 

公告


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