update
This commit is contained in:
parent
bd8c51e9c1
commit
75727d77da
@ -1,9 +1,7 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
|
|
||||||
using ull = unsigned long long;
|
using ull = unsigned long long;
|
||||||
static ull a, b, ans, n;
|
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
class ReadNumber{
|
class ReadNumber{
|
||||||
@ -20,6 +18,7 @@ public:
|
|||||||
}
|
}
|
||||||
while(isdigit(c)){
|
while(isdigit(c)){
|
||||||
n=n*10+(c-'0');
|
n=n*10+(c-'0');
|
||||||
|
c=getchar();
|
||||||
}
|
}
|
||||||
t = n*w;
|
t = n*w;
|
||||||
return *this;
|
return *this;
|
||||||
@ -30,6 +29,8 @@ static ReadNumber<ull> readull;
|
|||||||
static auto &is = readull;
|
static auto &is = readull;
|
||||||
static auto &os = std::cout;
|
static auto &os = std::cout;
|
||||||
|
|
||||||
|
static ull a, b, ans, n;
|
||||||
|
|
||||||
int main(){
|
int main(){
|
||||||
is>>n;
|
is>>n;
|
||||||
for(size_t i{0};i<n;i++){
|
for(size_t i{0};i<n;i++){
|
||||||
|
Loading…
Reference in New Issue
Block a user