运行 ID: 41085

Main.cc: In function ‘int main()’:
Main.cc:12:6: error: ‘cn’ was not declared in this scope
    a[cn++]=num%10;
      ^~
Main.cc:12:6: note: suggested alternative: ‘cnt’
    a[cn++]=num%10;
      ^~
      cnt