algo — C++23 日本語リファレンス GitHub

test/yosupo/big_integer/multiplication_of_big_integers.test.cpp

AC · 最終更新 2026-09-07 · GitHub

問題: https://judge.yosupo.jp/problem/multiplication_of_big_integers

依存するヘッダ(6)
実装
// competitive-verifier: PROBLEM https://judge.yosupo.jp/problem/multiplication_of_big_integers
#include <iostream>
#include "number_theory/bigint.hpp"

int main(void) {
    int t;
    std::cin >> t;
    while (t--) {
        BigInt a, b;
        std::cin >> a >> b;
        std::cout << a * b << '\n';
    }

    return 0;
}