热门
最新
红包
立Flag
投票
同城
我的
发布
展望便是阳光
6 年前
trueqq_45503865
msp430f5529中断笔记(二)--中断嵌套
下一条:
A+B问题,请大神指点,为什么负数不行#include<iostream> using namespace std; int add(int a,int b){ if(a==0) return b; if(b==0) return a; int c=a^b; int d=(a&b)<<1; a=c; b=d; return a|b; } int main() { int i,j; cin>>i>>j; cout<<add(i,j); return 0; }
立即登录