这是 2026-10-23 的上一版评测(LiveCodeBench 最新 35 题)。最新的阶梯评测见 首页。
结果
Kimi K3.1 ProKimi
✓
通过
- 官方测试 44/44判题
- 0.9k输出 token(含思考) ↓
- 15 秒延迟 ↓
- —最慢测试的 CPU 时间 ↓
- —峰值内存 ↓
- 2Pylint 问题 ↓
- 6.67Pylint 得分 ↑
- 0圈复杂度 ↓
- 70.5可维护性指数 ↑
- 10有效行
- 0SonarQube 问题 ↓
DeepSeek-V4.1-FlashDS-Flash
✓
通过
- 官方测试 44/44判题
- 0.3k输出 token(含思考) ↓
- 3 秒延迟 ↓
- —最慢测试的 CPU 时间 ↓
- —峰值内存 ↓
- 2Pylint 问题 ↓
- 8.00Pylint 得分 ↑
- 0圈复杂度 ↓
- 65.7可维护性指数 ↑
- 10有效行
- 0SonarQube 问题 ↓
DeepSeek-V4-ProDS-Pro
✓
通过
- 官方测试 44/44判题
- 1.0k输出 token(含思考) ↓
- 7 秒延迟 ↓
- —最慢测试的 CPU 时间 ↓
- —峰值内存 ↓
- 4Pylint 问题 ↓
- 6.36Pylint 得分 ↑
- 4圈复杂度 ↓
- 63.4可维护性指数 ↑
- 12有效行
- 0SonarQube 问题 ↓
↑ 越大越好,↓ 越小越好,有效行只描述代码长短。CPU 时间与内存只统计能区分性能的题(最慢答案扣除进程启动后仍 ≥ 0.1 秒),括号内为相对最快者的倍数(≥ 2 时标出)。静态质量按 arXiv:2610.19167 的口径(见 原理)。判题方法见 原理 › 判题。
代码
Kimi K3.1 Pro · 13 行
import sys from collections import Counter a = list(map(int, sys.stdin.read().split())) counts = Counter(a) possible = any( x != y and counts[x] >= 3 and counts[y] >= 2 for x in counts for y in counts ) print("Yes" if possible else "No")
DeepSeek-V4.1-Flash · 13 行
import sys from collections import Counter A = list(map(int, sys.stdin.read().split())) count = Counter(A) for x in count: for y in count: if x != y and count[x] >= 3 and count[y] >= 2: print("Yes") sys.exit() print("No")
DeepSeek-V4-Pro · 15 行
import sys from collections import Counter def main(): A = list(map(int, sys.stdin.read().split())) counts = Counter(A) values = sorted(counts.values(), reverse=True) if len(values) >= 2 and values[0] >= 3 and values[1] >= 2: print("Yes") else: print("No") if __name__ == "__main__": main()