Chun_My @ 2023-08-18 10:35:15
如果后两个超时且你不想用分治,不妨试试O2优化
部分sort代码:
for(int i=0;i<n;i++)
scanf("%lld",&a[i]);
sort(a,a+n);
printf("%lld",a[k]);
by jiajunye @ 2023-08-23 21:44:03
牛啊
by HASPID @ 2023-08-25 19:17:07
@Chun_My 不开后俩TLE 开O2俩TLE前三还MLE了
by Chun_My @ 2023-08-27 11:45:58
@IMPOSTORrrrrrr ?代码问题吗
by HASPID @ 2023-08-27 11:58:23
@Chun_My 帮我看看呗
by HASPID @ 2023-08-27 12:01:49
代码发不了,请帮我在提交记录上看
by Chun_My @ 2023-08-27 17:55:15
@IMPOSTORrrrrrr 我都是用O2水过去的,你觉得我有石粒么(悲)
by Chun_My @ 2023-08-27 17:55:56
@IMPOSTORrrrrrr 不要捉急,我现在学分治
by Chun_My @ 2023-08-27 17:56:19
@IMPOSTORrrrrrr 必须给你找问题!