ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#214665 | #1. A+B Problem | bwahoji | 0 | 0ms | 1120kb | C++ | 468b | 2024-11-21 09:30:24 | 2024-11-21 09:30:27 |
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: 1120kb
input:
23 24
output:
Intel(R) Xeon(R) CPU E5-26xx v3
result:
wrong answer 1st lines differ - expected: '47', found: 'Intel(R) Xeon(R) CPU E5-26xx v3'
Test #2:
score: 0
Wrong Answer
time: 0ms
memory: 1116kb
input:
233 1
output:
Intel(R) Xeon(R) CPU E5-26xx v3
result:
wrong answer 1st lines differ - expected: '234', found: 'Intel(R) Xeon(R) CPU E5-26xx v3'
Test #3:
score: 0
Wrong Answer
time: 0ms
memory: 1120kb
input:
222 333
output:
Intel(R) Xeon(R) CPU E5-26xx v3
result:
wrong answer 1st lines differ - expected: '555', found: 'Intel(R) Xeon(R) CPU E5-26xx v3'
Test #4:
score: 0
Wrong Answer
time: 0ms
memory: 1120kb
input:
1 333
output:
Intel(R) Xeon(R) CPU E5-26xx v3
result:
wrong answer 1st lines differ - expected: '334', found: 'Intel(R) Xeon(R) CPU E5-26xx v3'
Test #5:
score: 0
Wrong Answer
time: 0ms
memory: 1116kb
input:
222 333
output:
Intel(R) Xeon(R) CPU E5-26xx v3
result:
wrong answer 1st lines differ - expected: '555', found: 'Intel(R) Xeon(R) CPU E5-26xx v3'
Test #6:
score: 0
Wrong Answer
time: 0ms
memory: 1120kb
input:
242 333
output:
Intel(R) Xeon(R) CPU E5-26xx v3
result:
wrong answer 1st lines differ - expected: '575', found: 'Intel(R) Xeon(R) CPU E5-26xx v3'
Test #7:
score: 0
Wrong Answer
time: 0ms
memory: 1116kb
input:
222 3330
output:
Intel(R) Xeon(R) CPU E5-26xx v3
result:
wrong answer 1st lines differ - expected: '3552', found: 'Intel(R) Xeon(R) CPU E5-26xx v3'
Test #8:
score: 0
Wrong Answer
time: 0ms
memory: 1120kb
input:
2220 333
output:
Intel(R) Xeon(R) CPU E5-26xx v3
result:
wrong answer 1st lines differ - expected: '2553', found: 'Intel(R) Xeon(R) CPU E5-26xx v3'
Test #9:
score: 0
Wrong Answer
time: 0ms
memory: 1120kb
input:
222 555
output:
Intel(R) Xeon(R) CPU E5-26xx v3
result:
wrong answer 1st lines differ - expected: '777', found: 'Intel(R) Xeon(R) CPU E5-26xx v3'
Test #10:
score: 0
Wrong Answer
time: 0ms
memory: 1116kb
input:
222 3333
output:
Intel(R) Xeon(R) CPU E5-26xx v3
result:
wrong answer 1st lines differ - expected: '3555', found: 'Intel(R) Xeon(R) CPU E5-26xx v3'