Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zerosumset4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anna Postnikova
zerosumset4
Commits
eda4b746
Commit
eda4b746
authored
3 years ago
by
maiermi
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
89c59aca
c0df39d3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
zerosumset/__init__.py
+0
-4
0 additions, 4 deletions
zerosumset/__init__.py
with
0 additions
and
4 deletions
zerosumset/__init__.py
+
0
−
4
View file @
eda4b746
from
z3
import
*
elems
=
[
-
7
,
-
3
,
-
2
,
9000
,
5
,
8
]
def
zerosumset
(
elems
):
n
=
len
(
elems
)
# Symbolic variables: is_in[i] is 1, if element i is in the zero sum subset, 0 otherwise
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment