提交时间:2026-04-04 18:28:52
运行 ID: 435271
#include<bits/stdc++.h> using namespace std; int main(){ int x,y; cin>>x>>y; if((x-y)%2==0){ cout<<x+(x-y)/2; }else{ cout<<"IMPOSSIBLE"; } return 0; }