请问数据是否有误(雾
查看原帖
请问数据是否有误(雾
141368
May_wind楼主2021/4/5 08:57

RT,一开始我查询排名的代码是:

if(order == 1)printf("%d\n",getrank(1,x));

样例过了,然后全WA。

后来我改成了

if(order == 1)printf("%d\n",getrank(1,x)+1);

样例没过,AC了?

2021/4/5 08:57
加载中...