for (int i=1; i<=m; ++i) if (a[i] == p) ans[conts++] = i; cout<<conts<<endl; for (int i=0; i<conts; ++i) cout << ans[i] << ' '; cout << endl; return 0; }

0 条评论

目前还没有评论...