比赛场次 | 405 |
---|---|
比赛名称 | NOIP模拟赛1 |
比赛状态 | 已结束比赛成绩 |
开始时间 | 2018-02-08 18:40:00 |
结束时间 | 2018-02-08 21:40:00 |
开放分组 | 全部用户 |
注释介绍 |
题目名称 | 异或 |
---|---|
输入输出 | xorxor.in/out |
时间限制 | 1000 ms (1 s) |
内存限制 | 256 MiB |
测试点数 | 10 简单对比 |
用户 | 结果 | 时间 | 内存 | 得分 |
---|---|---|---|---|
Chenyao2333 | AAAAAAAAAA | 2.317 s | 31.07 MiB | 100 |
Kyru Yann | AAAWWWWWWW | 0.323 s | 0.56 MiB | 30 |
fall in you | AAAEEEEEEE | 0.510 s | 2.89 MiB | 30 |
Lovelove_boii | AAAEEEEEEE | 0.638 s | 11.75 MiB | 30 |
FYJ | AAAEEEEEEE | 0.746 s | 31.07 MiB | 30 |
crystal | AAAEEEEEEE | 0.859 s | 57.41 MiB | 30 |
サイタマ | AAAEEEEEEE | 1.428 s | 114.60 MiB | 30 |
@@@ | AAAEEEEEEE | 1.429 s | 160.43 MiB | 30 |
kirikko | AAAEEEEEEE | 1.754 s | 0.42 MiB | 30 |
Joker | AAAEEEEEEE | 1.996 s | 152.86 MiB | 30 |
Dog_Two | AAAEEEEEEE | 6.233 s | 0.28 MiB | 30 |
shanyu12 | AAAEEEEEEE | 6.322 s | 0.35 MiB | 30 |
Ceres | AAAEEEEEEE | 6.417 s | 0.41 MiB | 30 |
pztl | AAAEEEEEEE | 6.436 s | 0.48 MiB | 30 |
niiick | AAAEEEEEEE | 6.508 s | 3.72 MiB | 30 |
bowen26222 | AAAEEEEEEE | 6.666 s | 0.28 MiB | 30 |
sky_bz | AAAEEEEEEE | 6.781 s | 30.77 MiB | 30 |
sarail | AAATTTTTTT | 7.008 s | 13.77 MiB | 30 |
荧惑 | AAATTTTTTT | 7.009 s | 0.63 MiB | 30 |
lajioj | AAATTTTTTT | 7.010 s | 1.69 MiB | 30 |
Molotov | AAATTTTTTT | 7.011 s | 0.42 MiB | 30 |
HtBest | AAATTTTTTT | 7.011 s | 0.63 MiB | 30 |
Tony | AAATTTTTTT | 7.012 s | 3.30 MiB | 30 |
偽りの神に抗え | AAATTTTTTT | 7.013 s | 2.92 MiB | 30 |
fanjunyi9 | AATTTTTTTT | 8.003 s | 0.49 MiB | 20 |
lingfeng123 | WWAEEEEEEE | 4.907 s | 0.49 MiB | 10 |
AHOI_Captain | AWWTTTTTTT | 7.001 s | 6.54 MiB | 10 |
suzihan03 | MMMMMMMMMM | 0.000 s | 0.00 MiB | 0 |
君皓寒丶 | C | 0.000 s | 0.00 MiB | 0 |
313 | RRRRRRRRRR | 0.001 s | 0.22 MiB | 0 |
blacker | RRRRRRRRRR | 0.015 s | 0.27 MiB | 0 |
joooooel | WEEEWEWWWW | 0.276 s | 0.16 MiB | 0 |
Furyton | WWEEEEEEEE | 0.729 s | 3.30 MiB | 0 |
LYN-- | WWEEEEEEEE | 0.949 s | 0.97 MiB | 0 |
墨 | WWWTTTTTTT | 7.001 s | 0.38 MiB | 0 |
梦那边的美好ET | WWWTTTTTTT | 7.100 s | 0.86 MiB | 0 |
小b学会了异或操作,非常开心。现在他有n个整数,对每两个整数都求一下异或操作,小b就得到了n*(n-1)/2个数字。现在小b想知道这n*(n-1)/2个数字里面,第k小的是谁?
第一行两个整数n,k
接下来一行n个整数
一个整数,为第k小的数字
4 5 1 1 3 4
5
解释:
1 xor 1 = 0;
1 xor 3 = 2;
1 xor 4 = 5;
1 xor 3 = 2;
1 xor 4 = 5;
3 xor 4 = 7;
第5小的数为5
数据范围
每个数字均为正整数且不超过1,000,000
30%的数据: 2 <= n <= 500 1 <= k <= min(100,000, n*(n-1)/2)
100%的数据:2 <= n <= 100,000 1 <= k <= min(100,000, n*(n-1)/2)
经典题目