洛谷正方形 @ 2021-03-20 21:18:01
#include<iostream>
#include<iomanip>
using namespace std;
int main(){
int a,b;
cout<<a+b;
return 0;
}
by BMTXLRC @ 2021-03-20 21:32:22
钓鱼吧(((
他之前的AC代码:
#include<bits/stdc++.h>
using namespace std;
int a,b,s=2e9,x=-2e9,ans=2e9;
int main()
{
cin>>a>>b;
while(ans!=a+b)
{
if(ans>a+b)
s=ans;
if(ans<a+b)
x=ans;
ans=(s+x)/2;
}
cout<<ans<<endl;
}
合着二分都来了(不过我不是很清楚二分毕竟没怎么打(((
by Maxmilite @ 2021-03-20 21:33:42
给您一份钩直饵咸的钓鱼材料
https://www.luogu.com.cn/paste/6xcjtsnx
by BMTXLRC @ 2021-03-20 21:35:18
@Maxmilite 草(
by zhaoyp @ 2021-03-20 21:38:30
lz P1827抄袭第二篇题解
by BMTXLRC @ 2021-03-20 21:40:11
@zhaoyp https://www.luogu.com.cn/record/44540607 https://www.luogu.com.cn/blog/jzqjzq/solution-p1827
抄袭*1
by 银河AI @ 2021-03-20 21:41:18
lz危
by JJA_ @ 2021-03-20 21:50:05
by BMTXLRC @ 2021-03-20 21:55:46
woc他AC的蓝题是快速傅里叶(
by BMTXLRC @ 2021-03-20 21:56:15
@BMTXLRC 用的是Ruby/wl
by sunny2000 @ 2021-03-28 13:31:21
没有cin,楼主以后要认真一些,这样才能做好题