提交记录 8697


用户 题目 状态 得分 用时 内存 语言 代码长度
SorahISA 1000. 测测你的 A+B Accepted 100 6.5 us 12 KB C++ 304 B
提交时间 评测时间
2019-03-05 18:52:19 2020-08-01 01:23:21
int plus(int a, int b)
{
	int ans = a-68451764; b += 68451764;
        while ( b > 10000000 ) { b -= 10000000; ans += 10000000; }
        while ( b < -10000000 ) { b += 10000000; ans -= 10000000; }
        while ( b > 0 ) { b-- ; ans++ ; }
        while ( b < 0 ) { b++ ; ans-- ; }
        return ans;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #16.5 us12 KBAcceptedScore: 100


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