0_0_39501358_5447.cpp: In function 'void rd(T&)':
0_0_39501358_5447.cpp:62:12: error: there are no arguments to 'isdigit' that depend on a template parameter, so a declaration of 'isdigit' must be available [-fpermissive]
62 | while(!isdigit(c)) { if(c=='-') f=-1; c=getchar(); }
| ^~~~~~~
0_0_39501358_5447.cpp:62:12: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
0_0_39501358_5447.cpp:63:11: error: there are no arguments to 'isdigit' that depend on a template parameter, so a declaration of 'isdigit' must be available [-fpermissive]
63 | while(isdigit(c)) x=x*10-'0'+c,c=getchar(); x*=f;
| ^~~~~~~
0_0_39501358_5447.cpp: In instantiation of 'void rd(T&) [with T = int]':
0_0_39501358_5447.cpp:89:15: required from here
0_0_39501358_5447.cpp:62:19: error: 'isdigit' was not declared in this scope
62 | while(!isdigit(c)) { if(c=='-') f=-1; c=getchar(); }
| ~~~~~~~^~~
0_0_39501358_5447.cpp:63:18: error: 'isdigit' was not declared in this scope
63 | while(isdigit(c)) x=x*10-'0'+c,c=getchar(); x*=f;
| ~~~~~~~^~~
|