foo.cc: In function 'void lllpr(__int128)':
foo.cc:7:163: warning: array subscript has type 'char' [-Wchar-subscripts]
inline void lllpr(__int128 x) { if (x == 0) { cout.put('0'); return ; } if (x < 0) { cout.put('-'); x = -x; } static char stk[105], top = 0; while (x) { stk[top++] = x % 10 + 48; x /= 10; } while (top--) { cout.put(stk[top]); } }
^
foo.cc:7:223: warning: array subscript has type 'char' [-Wchar-subscripts]
inline void lllpr(__int128 x) { if (x == 0) { cout.put('0'); return ; } if (x < 0) { cout.put('-'); x = -x; } static char stk[105], top = 0; while (x) { stk[top++] = x % 10 + 48; x /= 10; } while (top--) { cout.put(stk[top]); } }
^
[Hydro](https://hydro.ac)提供评测服务