poj 2309
来源:互联网 发布:听书软件安卓 编辑:程序博客网 时间:2024/05/23 16:55
#include<cstdio>using namespace std;int main(){int T;scanf("%d",&T);while(T--){long long x;scanf("%lld",&x);printf("%lld %lld\n",x-(x&-x)+1,x+(x&-x)-1);}}
0 0
- poj 2309
- poj 2309
- poj 2309
- poj 2309
- poj 2309,poj 2453 ,3748
- poj 2309 BST (^ ^)
- POJ 2309 BST
- poj 2309 BST
- poj 2309 ligtblueme
- POJ 2309 BST
- POJ 2309 BST
- poj 2309 树状数组
- BST - POJ 2309 水题
- POJ 2309 BST
- poj 2309 BST(lowbit)
- POJ 2309 BST
- poj 2309 BST
- POJ 2309:BST lowbit
- javascript中函数中定义变量的作用域
- spring AOP自定义注解方式实现日志管理
- 洛谷1118 数字三角形
- Linux(CentOS)下,下载安装Nginx并配置
- Servlet编程实例 续4
- poj 2309
- Java中的Filter过滤器
- 南阳理工ACM 题目33 蛇形填数
- HTML——Day1——基础知识
- RPC学习总结
- 机器学习实战之回归
- 链表去重
- 人脸检测之Haar分类器
- android 中CountDownTimer类源码分析