水题

#include<cstdio>
#include<cstring>
#include<cmath>
#include<stack>
#include<vector>
#include<string>
#include<iostream>
#include<algorithm>
using namespace std; int x[]; int main()
{
int a,b;
int ans=;
x[]=;
x[]=;
x[]=;
x[]=;
x[]=;
x[]=;
x[]=;
x[]=;
x[]=;
x[]=; scanf("%d%d",&a,&b);
for(int i=a;i<=b;i++)
{
int num=i;
while(num)
{
ans=ans+x[num%];
num=num/;
}
}
printf("%d\n",ans);
return ;
}

最新文章

  1. 发布一个自用的ansi转utf8程序
  2. 执行Hadoop job提示SequenceFile doesn&#39;t work with GzipCodec without native-hadoop code的解决过程记录
  3. DOM一致性检测
  4. AES .net 、JS 相互加密解密
  5. Arcgis Engine 切割图斑(ITool)
  6. CF 16C. Monitor
  7. 【Cocos2d-x 3.X 资源及脚本解密】
  8. Linux下Qt的安装与配置
  9. HTML+CSS学习笔记 (12) - CSS布局模型
  10. 91. Decode Ways
  11. windows 7环境下配置oracle 11g 客户端
  12. mysql中的sql时间格式转换
  13. V$、GV$、X$、V_$、GV_$之间的关系
  14. android 5.0新特性学习--RecyclerView
  15. Oracle中SQL语句分类
  16. JVM之GC算法、垃圾收集算法——标记-清除算法、复制算法、标记-整理算法、分代收集算法
  17. CSS3 box-shadow 属性 紧跟在 -webkit-, -ms- 或 -moz-
  18. WCF系列_WCF如何选择不同的绑定
  19. centos7下kubernetes(10。kubernetes-daemonset)
  20. 数位dp 模板

热门文章

  1. 虚拟机centos分区
  2. Tree Restoring
  3. liunx 平台下软件包管理
  4. mysql 修改 添加 删除 表字段
  5. HDU-1232--畅通工程(最小生成树)
  6. UVALive 2523 Machine Schedule(二分图求最大匹配数)
  7. linux的mount(挂载)NFS 共享,命令详解
  8. Chapter 1 First Sight——14
  9. Viewpager以及ViewPagerIndicator的相关使用
  10. boost之词法解析器spirit