别乱写代码,会RE
查看原帖
别乱写代码,会RE
517320
CyaNgw_DyG楼主2021/8/13 20:35
#include<bits/stdc++.h>
using namespace std;
int main(){
	int a,b,o;
	cin>>a>>b;
	if(b<=0)for(o=0;o>b;o--)a+=-1;
	else for(o=1;o<=b;o++)a+=1;
	cout<<a;
    return o;
} 
2021/8/13 20:35
加载中...