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

2016年2月26日

hdu 2027
摘要: ps:发现语文理解能力不行也是醉醉的....是每个测试实例空行....空!行!不是空格! 还有就是gets才能吸收空格,而scanf不能. 代码: #include "stdio.h"#include "stdlib.h"#include "string.h"int main(){ int i,j, 阅读全文
posted @ 2016-02-26 22:28 庸人自扰扰 阅读(163) 评论(0) 推荐(0)
 
hd oj2025
摘要: Ps:尼玛这道题简直坑爹。。。就是直接比较ascii码....无脑题,想复杂了... 代码:#include "stdio.h"#include "string.h"#include "stdlib.h"int main(){ int i,j,s,flag; char a[110],max; whi 阅读全文
posted @ 2016-02-26 22:14 庸人自扰扰 阅读(150) 评论(0) 推荐(0)
 
hd oj2015
摘要: #include "stdio.h"int main(){ int n,m,k,num,i,sum=0; while(~scanf("%d%d",&n,&m)){ num=n;k=2; while(num!=0){ if(num>m){ for(i=0;i<m;i++){ sum+=k; k+=2; 阅读全文
posted @ 2016-02-26 17:22 庸人自扰扰 阅读(189) 评论(0) 推荐(0)
 
 

公告


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