大家好,小榜来为大家解答以上的问题。喜羊羊运动会ppt,喜羊羊运动会这个很多人还不知道,现在让我们一起来看看吧!1、1234567891011#include int main(void){ int totalGoat,segment,location; scanf("%d%d%d",&totalGoat,&segment,&location); if(totalGoat-segment+1>=location) printf("%d",segment+location-1); else printf("%d",location-(totalGoat-segment+1)); return 0;}。本文到此分享完毕,希望对大家有所帮助。