Rewrite Using XMake
This commit is contained in:
26
test/data/Integer2/8.cpp
Normal file
26
test/data/Integer2/8.cpp
Normal file
@ -0,0 +1,26 @@
|
||||
/*
|
||||
Time: 2021-10-21
|
||||
Test: mul
|
||||
std Time: 0.01s
|
||||
Time Limit: 1.00s
|
||||
*/
|
||||
|
||||
#include "int2048.h"
|
||||
|
||||
sjtu::int2048 a, b;
|
||||
|
||||
int main()
|
||||
{
|
||||
int T;
|
||||
std::cin >> T;
|
||||
while (T--)
|
||||
{
|
||||
std::cin >> a >> b;
|
||||
std::cout << a * b << '\n';
|
||||
std::cout << (a *= b) << '\n';
|
||||
a *= b;
|
||||
a *= a;
|
||||
a *= b;
|
||||
std::cout << (b *= a) << '\n';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user