initial commit
This commit is contained in:
29
data/Integer2/16.cpp
Normal file
29
data/Integer2/16.cpp
Normal 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';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user