#include <stdio.h>
int main()
{
int score[10];
int rank[5] = {0};
int num, r, i;
for (i = 0; i < num; i++) {
}
for (i = 0; i < num; i++) {
r = score[i] / 20;
if (4 < r) r = 4;
rank[r]++;
}
for (i = 0; i < 5; i++) {
printf("%d点以上=%d\n", i
* 20, rank
[i
]); }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbigpCnsKCWludAlzY29yZVsxMF07CglpbnQJcmFua1s1XSA9IHswfTsKCWludAludW0sIHIsIGk7CgoJcHJpbnRmKCLkurrmlbA9XG4iKTsKCXNjYW5mKCIlZCIsICZudW0pOwoJZm9yIChpID0gMDsgaSA8IG51bTsgaSsrKSB7CgkJcHJpbnRmKCIlZDog54K55pWwPVxuIiwgaSArIDEpOwoJCXNjYW5mKCIlZCIsICZzY29yZVtpXSk7Cgl9CgoJZm9yIChpID0gMDsgaSA8IG51bTsgaSsrKSB7CgkJciA9IHNjb3JlW2ldIC8gMjA7CgkJaWYgKDQgPCByKSByID0gNDsKCQlyYW5rW3JdKys7Cgl9Cglmb3IgKGkgPSAwOyBpIDwgNTsgaSsrKSB7CgkJcHJpbnRmKCIlZOeCueS7peS4ij0lZFxuIiwgaSAqIDIwLCByYW5rW2ldKTsKCX0KCXJldHVybiAwOwp9Cg==