#include <stdio.h>
int main()
{
int i,j,n=-1,b,data[9];
for (i=0; i<10; i++)
{
data[i] = j;
printf("%d人目の点数:%d\n ",i
+1,data
[i
]); }
for(i=0;i<10;i++){
b=0;
for(j=0;j<10;j++){
if(data[i]<data[j])
b++;
}
if(b==8)
n=i;
}
if(n!=-1)
else
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKCkKewogICBpbnQgaSxqLG49LTEsYixkYXRhWzldOwogICAgZm9yIChpPTA7IGk8MTA7IGkrKykKCXsKCQlzY2FuZigiJWQiLCZqKTsKCQlkYXRhW2ldID0gajsKCSAgICBwcmludGYoIiVk5Lq655uu44Gu54K55pWw77yaJWRcbiAiLGkrMSxkYXRhW2ldKTsKICAgICB9CiAgICAgZm9yKGk9MDtpPDEwO2krKyl7CiAgICAgCWI9MDsKICAgICAgICBmb3Ioaj0wO2o8MTA7aisrKXsgCiAgICAgICAgIAogICAgICAgICAgaWYoZGF0YVtpXTxkYXRhW2pdKQogICAgICAgICAgICAgYisrOwogICAgICAgIH0KICAgICAgICBpZihiPT04KQogICAgICAgICAgbj1pOwogICAgIH0KICAgICBpZihuIT0tMSkKICAgICAgIHByaW50ZigiOeS9je+8miVk5Lq655uuICIsbisxKTsKICAgICBlbHNlIAogICAgICAgcHJpbnRmKCJub3QgZm91bmQiKTsKICAgICAKICAgICByZXR1cm4gMDsKfQo=