37 lines
402 B
C
37 lines
402 B
C
#include <stdio.h>
|
|
|
|
int main(){
|
|
int k,i,j;
|
|
for(;;){
|
|
for(k=0;k<101;k++){
|
|
printf("[");
|
|
|
|
for(i=0;i<100-k;i++){
|
|
printf(":");
|
|
}
|
|
for(i=0;i<k;i++){
|
|
printf(" ");
|
|
}
|
|
|
|
printf("]\n");
|
|
}
|
|
|
|
printf("\n");
|
|
|
|
for(k=0;k<101;k++){
|
|
printf("[");
|
|
|
|
for(i=0;i<k;i++){
|
|
printf(":");
|
|
}
|
|
|
|
for(i=0;i<100-k;i++){
|
|
printf(" ");
|
|
}
|
|
|
|
printf("]\n");
|
|
}
|
|
}
|
|
|
|
}
|