This commit is contained in:
Zengtudor 2024-10-10 15:06:17 +08:00
parent 670ed0868a
commit bd8c51e9c1

View File

@ -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++){