Project

General

Profile

Actions

grading_rules #11372

open

rule_CCFCAT全国测试开发大赛-省赛-字符串整理

Added by UserName LastName about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
06/13/2024
Due date:
% Done:

0%

Estimated time:
name:
rule_CCFCAT全国测试开发大赛-省赛-字符串整理
data:

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

No data to display

Actions

Also available in: Atom PDF