Files
BH-int2048-2023/data/Integer2/13.cpp
2023-10-19 22:35:38 +08:00

28 lines
510 B
C++

/*
Time: 2021-10-22
Test: complexity (mul)
std Time: 0.01s
Time Limit: 1.00s
*/
#include "int2048.h"
sjtu::int2048 a, b;
std::string s1, s2;
int main()
{
for (int i = 1; i <= 100; i++)
{
a = 0, b = 0;
s1 = "", s2 = "";
for (int j = 1; j < 500; j++)
{
s1 += (1ll * (i + j) * 19260817) % 998244353 % 10 + '0';
s2 += (1ll * (i + j) * 998244353) % 19260817 % 10 + '0';
}
a = s1, b = s2;
std::cout << a * b << '\n';
}
}