char a[11];for(int i=0;i {cin>>a[i];}
输入123456....
能不能横着一行直接赋值了,不要输一个数按一下enter求求救
输入 1 2 3 4 5 6 最后再回车
横着按1 2 3 4 5 6,每按一个数字打一个空格,最后再按entwr键就行了