update
This commit is contained in:
parent
670ed0868a
commit
bd8c51e9c1
@ -10,7 +10,7 @@ class ReadNumber{
|
||||
char c;
|
||||
T w,n;
|
||||
public:
|
||||
ReadNumber&operator>>(T &t){
|
||||
ReadNumber& operator>>(T &t){
|
||||
c=(char)0,w=1,n=0;
|
||||
while(!isdigit(c)){
|
||||
if constexpr (std::is_signed_v<T>){
|
||||
@ -30,7 +30,6 @@ static ReadNumber<ull> readull;
|
||||
static auto &is = readull;
|
||||
static auto &os = std::cout;
|
||||
|
||||
|
||||
int main(){
|
||||
is>>n;
|
||||
for(size_t i{0};i<n;i++){
|
||||
|
Loading…
Reference in New Issue
Block a user