提交记录 19294
提交时间 |
评测时间 |
2023-03-22 08:03:45 |
2023-03-22 08:04:03 |
#include <iostream>
#include <cstdio>
#include <random>
using namespace std;
typedef unsigned int uint;
inline int popcount1(uint x)
{
x = x - ((x >> 1) & 0x55555555);
x = (x & 0x33333333) + ((x >> 2) & 0x33333333);
return ((x + (x >> 4) & 0xF0F0F0F) * 0x1010101) >> 24;
}
inline int popcount2(uint x)
{
return __builtin_popcount(x);
}
mt19937 rng(114514);
int main()
{
int t = 100000000;
uint res = 0;
while (t--)
{
res ^= popcount2(rng());
}
cout << res << endl;
}
Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
Testcase #1 | 735.806 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #2 | 741.066 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #3 | 741.343 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #4 | 735.812 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #5 | 741.322 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #6 | 735.824 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #7 | 741.315 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #8 | 741.259 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #9 | 741.327 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #10 | 741.313 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #11 | 741.294 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #12 | 741.008 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #13 | 741.275 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #14 | 735.77 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #15 | 741.26 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #16 | 741.039 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #17 | 741.052 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #18 | 736.044 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #19 | 741.081 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Testcase #20 | 736.041 ms | 40 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2025-05-13 20:04:09 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠