9 条题解
- 1
信息
- ID
- 2123
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 1
- 标签
- 递交数
- 1048
- 已通过
- 459
- 上传者
#include<iostream>
using namespace std;
int main(){
int R1,R2,S;
cin>>R1>>S;
cout<<2*S-R1;
return 0;
}
#include<iostream>
using namespace std;
int main(){
int R1,R2,S;
cin>>R1>>S;
cout<<2*S-R1;
return 0;
}
#include<iostream>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b;
c = b*2-a;
cout<<c;
return 0;
}
#include<iostream>
using namespace std;
int main(){
int R1,R2,S;
cin>>R1>>S;
cout<<2*S-R1;
return 0;
}
#include<iostream>
using namespace std;
int main(){
int a,y,x;
cin>>a>>x;
cout<<2*x-a;
return 0;
}
#include<iostream>
using namespace std;
int main(){
int R1,R2,S;
cin>>R1>>S;
cout<<2*S-R1;
return 0;
}
#include using namespace std; int main() { int R1,R2,S; cin>>R1>>S; R2=2*S-R1; cout<<R2; return 0; }
23456781 using namespace std;int main(){ int R1,S,R2; cin>>R1>>S; cout<<S*2-R1; return 0;}#include <bits/stdc++.h>