12 lines
202 B
C
12 lines
202 B
C
|
#include <stdlib.h>
|
||
|
#include <stdio.h>
|
||
|
|
||
|
int repetition(long tab[],int taille){
|
||
|
int i;
|
||
|
for(i=0;i<taille-1;i++){
|
||
|
if(tab[i]!=tab[i+1]){
|
||
|
return 0;
|
||
|
}
|
||
|
}
|
||
|
return 1;
|
||
|
}
|