提交记录 8695


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

CompilationN/AN/ACompile OKScore: N/A

Testcase #19.27 us12 KBAcceptedScore: 100


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