ACWing评测姬配置
#include <stdint.h>
#include <iostream>
#include <cpuid.h>
using namespace std;
static void cpuid(uint32_t func, uint32_t sub, uint32_t data[4]) {
__cpuid_count(func, sub, data[0], data[1], data[2], data[3]);
}
int main() {
uint32_t data[4];
char str[48];
for(int i = 0; i < 3; ++i) {
cpuid(0x80000002 + i, 0, data);
for(int j = 0; j < 4; ++j)
reinterpret_cast<uint32_t*>(str)[i * 4 + j] = data[j];
}
cout << str;
}
2020/1/31
Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
所以有时候跑的慢也是很正常的啦QwQ
2020/2/2 update
Intel(R) Xeon(R) CPU E5-2682 v4 @ 2.50GHz
y总牛逼ww!
不懂
啥东西啊
这是什么级别的配置
why is this not enough?