谁知道这道题怎么写

zhangdeyi  •  2年前



评论:

include

using namespace std;

int main() { int a,s; cin>>a>>s; cout<<s*2-a<<endl; return 0; }


dgjyy115  •  2年前

include <bits/stdc++.h>

using namespace std;

int main() { int a,b,S; cin>>a>>S; b=2*S-a; cout<<b<<endl; return 0; }


匿名用户  •  2年前

 •  2年前

建议使用插头dp


_JF_  •  2年前

在座各位都很文明


zhangdeyi  •  2年前

谢谢各位回复,我发完那个帖就会做了


zhangdeyi  •  2年前

.  •  2年前

慈母守中线


猴子  •  2年前

include <bits/stdc++.h> using namespace std; int main()

{ int a,s; cin>>a>>s; cout<<2*s-a<<endl; return 0; }


未知  •  2年前