grading_rules #29
openrule_CCFCAT全国测试开发大赛-省赛-字符串整理
0%
- desc: 结果正确得5分,结果不正确得-10分。
max: 5
min: -10
name: 是否为正确结果
- desc: 没有相两邻两个元素比较得0分,有相两邻两个元素比较得5分。
max: 5
min: 0
name: 是否是相两邻两个元素比较
- desc: 没有使用循环遍历字符串得0分,有使用循环遍历字符串得4分。
max: 4
min: 0
name: 是否有循环遍历字符串
- desc: 代码时间复杂度为O(n)得4分,代码时间复杂度不为O(n)得0分。
max: 4
min: 0
name: 是否为O(n)的时间复杂度
- desc: 有返回值得3分,没有返回值得0分
max: 3
min: 0
name: 是否有返回值
- desc: 不包含 def compress_string(message) 或者 public String compressString(String message)
得0分,包含 def compress_string(message) 或者 public String compressString(String message)
得3分
max: 3
min: 0
name: 是否使用给定模版
- desc: 是否存在拼写错误,存在拼写错误得0分,不存在拼写错误得2分
max: 2
min: 0
name: 拼写错误检查
- desc: 代码缩进全部正确得2分,代码缩进不正确得0分
max: 2
min: 0
name: 缩进检查
- desc: 没有注释0分,有关键性注释得1分。
max: 1
min: 0
name: 是否有注释
- desc: 代码编写规范得1分,代码编写不规范得0分
max: 1
min: 0
name: 代码编写是否规范
- desc: 是否是基于人工智能生成的作弊代码,返回min最小分,无作弊嫌疑得max分
max: 0
min: -5
name: 是否是基于人工智能生成的作弊代码
No data to display