#include <stdio.h>
int main(int argc, char** argv) {
int a, i, j, c = 0;
int vetor[a];
for (i = 0; i < a; i++) {
}
for (i = 0; i < a; i++) {
for (j = i + 1; j < a; j++) {
if (vetor[i] == vetor[j]) {
c++;
}
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbihpbnQgYXJnYywgY2hhcioqIGFyZ3YpIHsKICAgIGludCBhLCBpLCBqLCBjID0gMDsKICAgIHNjYW5mKCIlZCIsICZhKTsKICAgIGludCB2ZXRvclthXTsKICAgIGZvciAoaSA9IDA7IGkgPCBhOyBpKyspIHsKICAgICAgICBzY2FuZigiJWQiLCAmdmV0b3JbaV0pOwogICAgfQogICAgZm9yIChpID0gMDsgaSA8IGE7IGkrKykgewogICAgICAgIGZvciAoaiA9IGkgKyAxOyBqIDwgYTsgaisrKSB7CiAgICAgICAgICAgIGlmICh2ZXRvcltpXSA9PSB2ZXRvcltqXSkgewogICAgICAgICAgICAgICAgYysrOwogICAgICAgICAgICB9CiAgICAgICAgfQogICAgfQogICAgcHJpbnRmKCIlZFxuIiwgYyk7CiAgICByZXR1cm4gMDsKfQ==