QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#295569 | #5075. Fenwick Tree | Qingyu | WA | 0ms | 3532kb | C++23 | 466b | 2023-12-31 13:45:37 | 2023-12-31 13:45:37 |
Judging History
answer
#include <stdint.h>
#include <iostream>
#include <cpuid.h>
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];
}
std::cout << str;
}
详细
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3532kb
input:
3 5 10110 5 00000 5 11111
output:
Intel(R) Xeon(R) Platinum 8370C CPU @ 2.80GHz
result:
wrong output format Expected integer, but "Intel(R)" found