QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#382962#1. I/O TesttutamizCompile Error//C++14466b2024-04-08 20:31:472024-04-08 20:31:49

Judging History

你现在查看的是最新测评结果

  • [2024-04-08 20:31:49]
  • 评测
  • [2024-04-08 20:31:47]
  • 提交

config.txt

#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;
}

input_test


output_test


詳細信息

Invalid Configuration File: failed to read Nin and Nout