Home > Back-end >  Letters statistics (a solution)
Letters statistics (a solution)

Time:09-18

To HJS JXB often show off how good their home there, but HJS Daniel never shrug, one day, he said in that: "we the people there live is very high, and even a 150 - year - old man!" , the HJS Daniel ready to investigate, then everyone's age data collected there, first of all to put their smallest, this is a simple task to you!
#include
#include
Int a, [150].
Int main ()
{
Memset (a, 0, sizeof (a));
int n;
The scanf (" % d ", & amp; n);
While (n -)
{
int i;
The scanf (" % d ", & amp; i);
A [I] + +;
}
for(int i=0; i<=150; I++)
{
for(int j=0; JPrintf (" % d ", I);
}
printf("\n");
return 0;
}
  • Related