提交记录 19718


用户 题目 状态 得分 用时 内存 语言 代码长度
TSKY 1000. 测测你的 A+B Compile Error 0 0 ns 0 KB C++14 316 B
提交时间 评测时间
2023-07-21 10:22:08 2023-07-21 10:22:09
#include <immintrin.h>
#include <cstdint>
#include <iostream>
using namespace std; 
using UINT_32 = uint32_t;

template<uint64_t MOD>
constexpr uint add(UINT_32 a,UINT_32 b)  {
    return a < MOD - b ? a + b : a - (MOD - b);
}

int main() {
    __m512d x;
    int a,b;
    cin>>a>>b;
    cout<<add<998244353>(a,b);
}

CompilationN/AN/ACompile ErrorScore: N/A


Judge Duck Online | 评测鸭在线
Server Time: 2025-09-14 19:49:05 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠