18 lines
275 B
C
18 lines
275 B
C
#include <stdio.h>
|
|
|
|
int seq[100];
|
|
|
|
void histogram(int n) {
|
|
for(int i=0; i<n; i++) printf("=");
|
|
printf("\n");
|
|
}
|
|
|
|
int main() {
|
|
int N;
|
|
scanf("%d",&N);
|
|
|
|
for(int i=0; i<N; i++) scanf("%d",&seq[i]);
|
|
for(int i=0; i<N; i++) histogram(seq[i]);
|
|
|
|
return 0;
|
|
} |