SAT solver
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
See <a href="https://github.com/tric/trick2015/blob/master/ksk_2/remarks.markdown">this description for detail</a>. If there are multiple solutions, output the one which have as many leading positive numbers as possible.
This problem is a test for <a href="rejudge.html">the rejudge feature</a>. Hopefully luck-depend solutions won't work anymore, though this problem itself wouldn't be a good problem because this could be exploitable by embeded solutions.
Options
exec is denied
rejudge feature is enabled
now post-mortem time, all source codes will be revealed
Sample input:_
c quinn.cnf
c
p cnf 16 18
1 2 0
-2 -4 0
3 4 0
-4 -5 0
5 -6 0
6 -7 0
6 7 0
7 -16 0
8 -9 0
-8 -14 0
9 10 0
9 -10 0
-10 -11 0
10 12 0
11 12 0
13 14 0
14 -15 0
15 16 0
Sample output:
s SATISFIABLE
v 1 2 3 -4 5 6 7 8 9 10 -11 12 13 -14 -15 16
Sample input:_
c
c This is a sample input file.
c (unsatisfiable)
c
p cnf 3 5
1 -2 3 0
-1 2 0
-2 -3 0
1 2 -3 0
1 3 0
-1 -2 3 0
Sample output:
s UNSATISFIABLE
Sample input:_
c
c This is a sample input file.
c
p cnf 3 5
1 -2 3 0
-1 2 0
-2 -3 0
1 2 -3 0
1 3 0
Sample output:
s SATISFIABLE
v 1 2 -3
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | mitchs | 93 | 0.2035 | 2015/12/17 20:13:55 | 0B / 39B / 48B |
2 | shinh | 188 | 0.2011 | 2015/12/14 20:51:56 | 0B / 93B / 82B |
3 | gmk | 333 | 0.9699 | 2015/12/16 21:21:11 | 0B / 130B / 192B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 137 | 0.0406 | 2019/09/29 02:43:36 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 143 | 0.0522 | 2021/05/13 15:27:24 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | %20 | 104 | 0.0319 | 2015/12/16 04:09:00 | 0B / 57B / 20B |
2 | mitchs (%20) | 101 | 0.0317 | 2015/12/29 13:49:52 | 0B / 57B / 18B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 120 | 0.0317 | 2018/01/25 13:35:09 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 122 | 0.2915 | 2018/01/31 22:34:14 | 0B / ?B / ?B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | Ruby | mitchs | 92 | 10000 |
2 | Ruby2 | mitchs | 93 | 9892 |
3 | sed | mitchs (%20) | 101 | 9108 |
4 | jq | pooq | 120 | 7666 |
5 | R | pooq | 122 | 7540 |
6 | Xtal | pooq | 137 | 6715 |
7 | PARI/GP | pooq | 143 | 6433 |
8 | Perl | tails (die if $$==300 && time%3600==0) | 202 | 4554 |
9 | C | chocobi | 323 | 2848 |
return to the top page