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

27
test/data/Integer1/5.cpp Normal file
View File

@ -0,0 +1,27 @@
/*
Time: 2021-10-20
Test: add & minus (signed)
std Time: 0.15s
Time Limit: 1.00s
*/
#include "int2048.h"
sjtu::int2048 a;
std::string s;
int main()
{
int n;
std::cin >> n;
for (int i = 1; i <= n; i++)
{
std::cin >> s;
if (i & 1)
a.add(sjtu::int2048(s));
else
a.minus(sjtu::int2048(s));
a.print(); puts("");
}
}