This commit is contained in:
Zengtudor 2024-10-10 16:35:59 +08:00
parent bd8c51e9c1
commit 75727d77da

View File

@ -1,9 +1,7 @@
#include <iostream>
#include <type_traits>
using ull = unsigned long long;
static ull a, b, ans, n;
template<class T>
class ReadNumber{
@ -20,6 +18,7 @@ public:
}
while(isdigit(c)){
n=n*10+(c-'0');
c=getchar();
}
t = n*w;
return *this;
@ -30,6 +29,8 @@ static ReadNumber<ull> readull;
static auto &is = readull;
static auto &os = std::cout;
static ull a, b, ans, n;
int main(){
is>>n;
for(size_t i{0};i<n;i++){