foo.cc: In function 'void out(int, const char&)':
foo.cc:7:35: warning: narrowing conversion of '((n % 10) + 48)' from 'int' to 'char' [-Wnarrowing]
    7 |         char sta[10] = { 1,n % 10 + '0' };
      |                            ~~~~~~~^~~~~
foo.cc:8:29: warning: array subscript has type 'char' [-Wchar-subscripts]
    8 |         while (n /= 10) sta[++sta[0]] = n % 10 + '0';
      |                             ^~~~~~~~
foo.cc:9:42: warning: array subscript has type 'char' [-Wchar-subscripts]
    9 |         while (sta[0]) putchar(sta[sta[0]--]);
      |                                    ~~~~~~^~
   
  
    正在同步测试数据,请稍后
Found 5 testcases.
[Hydro](https://hydro.ac)提供评测服务