ChenHaoQi @ 2024-09-12 19:43:16
尝试将cin改scanf 对于我的代码:
for(int i=0; i<n; i++){ cin>>a[i]; }
cin:1.20s
for(int i=0; i<n; i++){ scanf("%d",&a[i]); }
scanf:586ms
by CQNK_Yjr @ 2024-09-18 20:25:08
orz