sc

baizichen 2024-11-30 17:32:53 2
for (int i = 2; i <= 9; i++) {
    int ys = 0;
    for (int f = 0; f < len_a; f++) {
        ys = ys * 10 + _a[f];
        ys = ys % i;
    }
    if (ys == 0) {
        cout << i << " ";
        k++;
    }
}
if (k == 0) {

}

{{ vote && vote.total.up }}