提交记录 5298


用户 题目 状态 得分 用时 内存 语言 代码长度
xianglingao 1000i. 【传统题】 A+B Problem Wrong Answer 0 11.45 us 16 KB C++ 188 B
提交时间 评测时间
2018-08-16 09:41:54 2020-08-01 00:15:11
#include <cstdio>

int a, b;

int func(int a, int b) {
	return a & b ? func(a ^ b, (a & b) << 1) : a ^ b;
}

int main() {
	scanf("%d %d", &a, &b);
	printf("%d\n", func(a, b));
	return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #111.45 us16 KBWrong AnswerScore: 0


Judge Duck Online | 评测鸭在线
Server Time: 2026-04-12 03:11:05 | Loaded in 0 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠