>>253
「以下の実行例」ってやつが書いてないからmainは何とかしろ

int limit_sc(int *sc)
{
if (*sc > 100) {*sc = 100;return 1}
if (*sc < 0) {*sc = 0;return 1}
return 0
}