Rewrite Using XMake

This commit is contained in:
2024-01-17 11:57:45 +00:00
parent 6f261f6d59
commit 5237e0b1df
77 changed files with 295 additions and 160 deletions

30
test/data/Integer2/10.cpp Normal file
View File

@ -0,0 +1,30 @@
/*
Time: 2021-10-21
Test: mul & div
std Time: 0.01s
Time Limit: 1.00s
*/
#include "int2048.h"
sjtu::int2048 a;
std::string s;
int main()
{
int n;
std::cin >> n;
a = 1;
for (int i = 1; i <= n; i++)
{
int ty = 0;
std::cin >> ty >> s;
if (ty)
a /= s;
else
a *= s;
std::cout << a << '\n';
}
}