initial commit

This commit is contained in:
zsq259
2023-10-19 22:35:38 +08:00
commit 9a3bc626ad
61 changed files with 49217 additions and 0 deletions

29
data/Integer2/16.cpp Normal file
View File

@ -0,0 +1,29 @@
/*
Time: 2021-10-22
Test: complexity (div)
Comment: Task of A Class & Bonus of B Class
std Time: 0.09s
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 < 5000; j++)
s1 += (1ll * (i + j) * 19260817) % 998244353 % 10 + '0';
for (int j = 1; j < 5000 / 2; j++)
s2 += (1ll * (i + j) * 998244353) % 19260817 % 10 + '0';
a = s1; b = s2;
b = b + 1;
std::cout << a / b << '\n';
}
}