Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b43d120e66 |
@@ -5,7 +5,7 @@ execute store result score n.len func.temp run data get storage mq:tmp norm.in
|
|||||||
execute if score n.len func.temp matches 0 run return 0
|
execute if score n.len func.temp matches 0 run return 0
|
||||||
|
|
||||||
# 머리글자 추출 → norm.c
|
# 머리글자 추출 → norm.c
|
||||||
data modify storage mq:tmp norm.c set string from storage mq:tmp norm.in 0 1
|
data modify storage mq:tmp norm.c set string storage mq:tmp norm.in 0 1
|
||||||
|
|
||||||
# 공백 제거 (스킵)
|
# 공백 제거 (스킵)
|
||||||
execute if data storage mq:tmp norm{c:" "} run data modify storage mq:tmp norm.c set value ""
|
execute if data storage mq:tmp norm{c:" "} run data modify storage mq:tmp norm.c set value ""
|
||||||
@@ -42,6 +42,6 @@ execute if data storage mq:tmp norm{c:"Z"} run data modify storage mq:tmp norm.c
|
|||||||
function mq:answer/normalize/append with storage mq:tmp norm
|
function mq:answer/normalize/append with storage mq:tmp norm
|
||||||
|
|
||||||
# 나머지로 진행
|
# 나머지로 진행
|
||||||
data modify storage mq:tmp norm.in set string from storage mq:tmp norm.in 1
|
data modify storage mq:tmp norm.in set string storage mq:tmp norm.in 1
|
||||||
|
|
||||||
function mq:answer/normalize/step
|
function mq:answer/normalize/step
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
{
|
{
|
||||||
"pack": {
|
"pack": {
|
||||||
"pack_format": 75,
|
"description": "음악퀴즈용 데이터팩입니다.",
|
||||||
"min_format": 75,
|
"min_format": [101, 1],
|
||||||
"max_format": 75,
|
"max_format": [101, 1]
|
||||||
"description": "음악퀴즈용 데이터팩입니다."
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user