运行 ID: 41749

Main.cc: In function ‘int main()’:
Main.cc:7:12: error: unable to find numeric literal operator ‘operator""i’
  for(int i=10i<=n;i++){
            ^~~
Main.cc:7:12: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
Main.cc:7:22: error: expected ‘;’ before ‘)’ token
  for(int i=10i<=n;i++){
                      ^
Main.cc:10:16: error: ‘cnt’ was not declared in this scope
    if(m%10==1) cnt++;
                ^~~
Main.cc:10:16: note: suggested alternative: ‘int’
    if(m%10==1) cnt++;
                ^~~
                int
Main.cc:14:8: error: ‘cnt’ was not declared in this scope
  cout<