fork download
  1. # your code goes here
Success #stdin #stdout 0.02s 9172KB
stdin
#include <stdio.h>
#include <stdlib.h>
 
 
 
int main()
{
int n,i,z;
int vetor [10];
 
scanf("%d",&n);
vetor[0]=n;
for (i=1;i<10;i++){
    scanf("%d",&n);
    for (z=0;z<i;z++){
        if (vetor[z]==n){
            printf("JA DIGITOU ESTE NUMERO ANTES");
            scanf("%d",&n);
        }
        else{
            vetor=n;
        }
        }
    }
 
    system("cls");
    for (i=0;i<10;i++){
        printf(" %d",vetor);
    }
    return 0;
}
stdout
Standard output is empty