提交记录 209


用户 题目 状态 得分 用时 内存 语言 代码长度
Chelly 1000. 测测你的 A+B Accepted 100 4.95 us 12 KB C 194 B
提交时间 评测时间
2018-06-20 12:49:23 2020-07-31 20:36:15
int plus(int a, int b)
{
    int sum = 0, carry = 0;  
    while (b) {  
        sum = a ^ b;  
        carry = (a & b) << 1;  
        a = sum;  
        b = carry;  
    }  
    return a;  
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #14.95 us12 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2026-04-30 17:53:40 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠