Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liucerf
pre-release-database-cdb
Commits
2493a50a
You need to sign in or sign up before continuing.
Commit
2493a50a
authored
Mar 28, 2025
by
zengsxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c101301069.lua
修改为运算符的写法
parent
ed84a182
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
script/c101301069.lua
script/c101301069.lua
+6
-6
No files found.
script/c101301069.lua
View file @
2493a50a
...
...
@@ -40,8 +40,8 @@ function s.SelectSub(g1,g2,tp)
local
max
=
math.min
(
#
g1
,
#
g2
)
local
sg1
=
Group
.
CreateGroup
()
local
sg2
=
Group
.
CreateGroup
()
local
sg
=
sg1
:
__add
(
sg2
)
local
fg
=
g1
:
__add
(
g2
)
local
sg
=
sg1
+
sg2
local
fg
=
g1
+
g2
local
finish
=
false
while
true
do
finish
=#
sg1
==#
sg2
and
#
sg
>
0
...
...
@@ -60,13 +60,13 @@ function s.SelectSub(g1,g2,tp)
sg2
:
AddCard
(
sc
)
end
end
sg
=
sg1
:
__add
(
sg2
)
fg
=
g1
:
__add
(
g2
):
Filter
(
aux
.
TRUE
,
sg
)
sg
=
sg1
+
sg2
fg
=
g1
+
g2
-
sg
if
#
sg1
>=
max
then
fg
=
fg
:
Filter
(
aux
.
TRUE
,
g1
)
fg
=
fg
-
g1
end
if
#
sg2
>=
max
then
fg
=
fg
:
Filter
(
aux
.
TRUE
,
g2
)
fg
=
fg
-
g2
end
end
return
sg
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment