742 B - Arpa’s obvious problem and Mehrdad’s terrible solution codeforces
来源:互联网 发布:免费教学软件下载 编辑:程序博客网 时间:2024/05/16 16:08
#include<bits/stdc++.h> using namespace std; int num[1000005]; int main() { int n,x,temp; long long ans=0; cin>>n>>x; while(n--) { cin>>temp; ans+=num[temp^x]; num[temp]++; } cout<<ans<<endl; return 0; }
0 0
- Codeforces 742B B. Arpa’s obvious problem and Mehrdad’s terrible solution
- 【codeforces 742B】Arpa’s obvious problem and Mehrdad’s terrible solution
- Codeforces 742B Arpa’s obvious problem and Mehrdad’s terrible solution(map水题)
- Codeforces 742B Arpa’s obvious problem and Mehrdad’s terrible solution
- CodeForces 742B Arpa’s obvious problem and Mehrdad’s terrible solution
- codeforces 742B - Arpa’s obvious problem and Mehrdad’s terrible solution
- CodeForces - 742B Arpa’s obvious problem and Mehrdad’s terrible solution
- Codeforces 742B-Arpa’s obvious problem and Mehrdad’s terrible solution
- 742 B - Arpa’s obvious problem and Mehrdad’s terrible solution codeforces
- Codeforces Round #383 (Div. 2) 742B Arpa’s obvious problem and Mehrdad’s terrible solution
- Codeforces 742 B. Arpa’s obvious problem and Mehrdad’s terrible solution
- Codeforces 742B Arpa’s obvious problem and Mehrdad’s terrible solution
- codeforces 742B Arpa’s obvious problem and Mehrdad’s terrible solution
- CodeForces 742B Arpa’s obvious problem and Mehrdad’s terrible solution
- Arpa’s obvious problem and Mehrdad’s terrible solution CodeForces
- Arpa’s obvious problem and Mehrdad’s terrible solution (CodeForces
- B. Arpa’s obvious problem and Mehrdad’s terrible solution
- Codeforces Round #383 (Div. 2) B. Arpa’s obvious problem and Mehrdad’s terrible solution
- 文章标题
- Bootstrap响应式开发与开发实例
- Android大图加载,缩放,滑动浏览--SubsamplingScaleImageView 源码分析<一>大图加载
- 读取树状数据的方法
- 从Trade.dll到Tradex.dll,程序化交易接口的前世今生
- 742 B - Arpa’s obvious problem and Mehrdad’s terrible solution codeforces
- ZCMU-1731
- unity实现3D物体上的事件监听处理
- log4j配置单独日志文件输出
- Android Activity 学习记录
- AndroidStudio2.2.3 JNI与NDK开发之一:生成可调用.so库
- 贝叶斯分类的原理及流程
- uCOS-III移植到STM32分析
- JSP基础