别乱写代码,会RE

P1001 A+B Problem

CyaNgw_DyG @ 2021-08-13 20:35:24

#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;
} 

by Union_of_Britain @ 2021-08-13 20:36:45

@dyg_Teaf_offorz


by CyaNgw_DyG @ 2021-08-13 20:38:18

@kkksc0100_juruo 呜呜u


by Union_of_Britain @ 2021-08-13 20:39:13

A+B下神仙千千万


by pzj666 @ 2021-08-13 20:40:57

@dyg_Teaf_offorz RE?


by Justin090102 @ 2021-08-13 20:43:11

额?


by 求学的企鹅 @ 2021-08-13 20:43:33

@dyg_Teaf_offorz 有完没完?!!!


by BF_AlphaShoot @ 2021-08-13 20:43:33


by 小超手123 @ 2021-08-13 21:24:11

!!!NB


by xinglian @ 2021-08-17 16:42:54

倒数第 2 行,return\ o


by CyaNgw_DyG @ 2021-08-23 11:53:41

@xinglian ...别大意了,就没有闪


| 下一页