#include <stdio.h>
int main(int argc, char const *argv[])
{
int socer;
if (socer > 100 || socer < 0)
{
}
else
{
switch (socer / 10) //这里用到了int型非整数向下取整
{
case 9:
break;
case 8:
break;
case 6 || 7:
default:
break;
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKGludCBhcmdjLCBjaGFyIGNvbnN0ICphcmd2W10pCnsKICAgIGludCBzb2NlcjsKICAgIHByaW50Zigi6K+36L6T5YWl5L2g55qE5oiQ57upICAiKTsKICAgIHNjYW5mKCIlZCIsICZzb2Nlcik7CiAgICBpZiAoc29jZXIgPiAxMDAgfHwgc29jZXIgPCAwKQogICAgewogICAgICAgIHByaW50Zigi6K+36L6T5YWlMC0xMDDnmoTmlbDlgLwiKTsKICAgIH0KICAgIGVsc2UKICAgIHsKICAgICAgICBzd2l0Y2ggKHNvY2VyIC8gMTApIC8v6L+Z6YeM55So5Yiw5LqGaW505Z6L6Z2e5pW05pWw5ZCR5LiL5Y+W5pW0CiAgICAgICAgewogICAgICAgIGNhc2UgOToKICAgICAgICAgICAgcHJpbnRmKCJBL24iKTsKICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgY2FzZSA4OgogICAgICAgICAgICBwcmludGYoIkIvbiIpOwogICAgICAgICAgICBicmVhazsKICAgICAgICBjYXNlIDYgfHwgNzoKICAgICAgICAgICAgcHJpbnRmKCJDL24iKTsKICAgICAgICBkZWZhdWx0OgogICAgICAgICAgICBwcmludGYoIuihpeiAgy9uIik7CiAgICAgICAgICAgIGJyZWFrOwogICAgICAgIH0KICAgIH0KIAogICAgcmV0dXJuIDA7Cn0K