Mã chấm: 269529


Main.cc: In function ‘int main()’:
Main.cc:7:20: error: expected initializer before ‘-’ token
     int N,dem=0,thu-0;scanf("%d\n",&N);
                    ^
Main.cc:10:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[N]’ [-Wformat=]
     scanf("\n%s",&a);
                  ~~^
Main.cc:12:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
         if(a[i]='?'){
            ~~~~^~~~
Main.cc:7:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     int N,dem=0,thu-0;scanf("%d\n",&N);
                       ~~~~~^~~~~~~~~~~
Main.cc:10:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
     scanf("\n%s",&a);
     ~~~~~^~~~~~~~~~~