half not

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

I have invented a new operator, the 'half not', represented as n/2

We have:
n/2 n/2 x = not x
not not x = x

Please simplify the following expressions.

Options

exec is denied

rejudge feature is enabled

now post-mortem time, all source codes will be revealed

Sample input:_

n/2 not x
not n/2 x
not x
n/2 not x
n/2 n/2 x
not n/2 n/2 x
not n/2 not not n/2 x
n/2 not n/2 n/2 x
n/2 n/2 n/2 x
n/2 n/2 x
n/2 n/2 n/2 n/2 not not x
n/2 n/2 n/2 not x
not n/2 n/2 not not x
n/2 n/2 n/2 n/2 not x
not x
n/2 not not x
not not x
not n/2 n/2 n/2 n/2 x
not not not not not n/2 n/2 not x
n/2 n/2 n/2 n/2 x
not not not n/2 n/2 n/2 n/2 n/2 x
n/2 n/2 not n/2 n/2 x
not not not x
n/2 not x
not n/2 n/2 n/2 n/2 n/2 x
not n/2 x
n/2 not n/2 not not not not n/2 n/2 n/2 n/2 x
not n/2 not not not not n/2 not x
not not n/2 not not x
not n/2 not not x
not not n/2 not x
n/2 not n/2 n/2 not n/2 not not x
n/2 n/2 not not n/2 not x
not n/2 not n/2 not not n/2 not not not n/2 not not x
n/2 n/2 n/2 not not not n/2 n/2 n/2 x
n/2 n/2 n/2 n/2 x
n/2 not not not n/2 n/2 not not not not n/2 n/2 not n/2 x
not n/2 n/2 not n/2 n/2 not not n/2 n/2 n/2 x
not n/2 not not n/2 n/2 not n/2 not x
n/2 not n/2 not n/2 n/2 not not n/2 not n/2 not x
n/2 n/2 not not not not not not n/2 x
not not not not not not not not not n/2 x
n/2 x
n/2 not n/2 not n/2 not n/2 x
not not n/2 not x
not not not n/2 n/2 n/2 n/2 n/2 not n/2 n/2 not n/2 n/2 not not n/2 n/2 x
n/2 not not n/2 n/2 n/2 not not n/2 not not not not n/2 not n/2 n/2 x
n/2 not n/2 n/2 not not n/2 x
n/2 not x
not n/2 not n/2 n/2 not n/2 not not x

Sample output:

not n/2 x
not n/2 x
not x
not n/2 x
not x
x
x
n/2 x
not n/2 x
not x
x
n/2 x
x
not x
not x
n/2 x
x
not x
not x
x
not n/2 x
not x
not x
not n/2 x
not n/2 x
not n/2 x
x
not x
n/2 x
not n/2 x
not n/2 x
x
n/2 x
not x
x
x
not x
not n/2 x
not x
not x
not n/2 x
not n/2 x
n/2 x
not x
not n/2 x
n/2 x
not x
not x
not n/2 x
not x

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1rotary-o540.01752024/10/06 23:29:190B / 19B / 30B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o530.05952024/10/07 00:03:010B / 25B / 23B
2Natte940.05692024/10/03 19:25:450B / 41B / 43B

Perl _

RankUserSizeTimeDateStatistics
1fuzzylojik430.01532024/10/04 03:39:340B / 20B / 20B
2tails430.01492024/10/04 09:42:380B / 20B / 20B
3rotary-o430.04492024/10/05 20:27:340B / 20B / 20B

Python3 _

RankUserSizeTimeDateStatistics
1orthoplex710.04562024/10/04 06:56:040B / 36B / 30B
2xnor730.04712024/10/04 05:45:450B / 38B / 30B
3June740.04552024/10/13 02:02:150B / 36B / 33B
4AlephSquirrel740.04842024/10/13 03:11:370B / 41B / 30B
5fuzzylojik750.04882024/10/03 22:06:330B / 40B / 33B
6duckyluuk850.04912024/10/03 17:16:480B / 44B / 38B

C _

RankUserSizeTimeDateStatistics
1rotary-o780.01652024/10/08 08:07:161B / 43B / 31B
2tails780.01372024/10/08 10:08:584B / 40B / 31B

C++ _

RankUserSizeTimeDateStatistics
1moon1360.01842024/10/13 10:05:510B / 72B / 59B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1310.05662024/10/08 22:59:020B / 73B / 50B

C# _

RankUserSizeTimeDateStatistics
1rotary-o1450.04542024/10/08 23:11:408B / 77B / 52B
2fuzzylojik1470.03962024/10/08 20:49:200B / 94B / 45B

AWK _

RankUserSizeTimeDateStatistics
1McBusLuck460.01422024/10/11 20:32:540B / 25B / 17B
2Fleur460.01402024/10/13 00:23:210B / 24B / 18B

sed _

RankUserSizeTimeDateStatistics
1tails370.01492024/10/04 09:35:430B / 14B / 20B
2McBusLuck370.01422024/10/04 15:54:450B / 15B / 18B
3fuzzylojik370.01482024/10/04 21:31:200B / 13B / 20B
4rotary-o370.01462024/10/05 20:34:130B / 16B / 17B
5%20410.01432024/10/03 17:41:300B / 22B / 13B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails640.07762024/10/16 14:01:330B / 29B / 30B

xgawk _

RankUserSizeTimeDateStatistics
1McBusLuck460.01542024/10/11 21:22:070B / 25B / 17B

Whitespace _

RankUserSizeTimeDateStatistics
1rotary-o2660.05992024/10/08 23:39:270B / 0B / 0B

gs2 _

RankUserSizeTimeDateStatistics
1tails210.10672024/10/16 13:46:0010B / 9B / 2B
2whio300.07412024/10/16 02:16:0312B / 16B / 2B

Nibbles _

RankUserSizeTimeDateStatistics
1tails140.01942024/10/16 14:13:544B / 7B / 3B

CLC-INTERCAL _

RankUserSizeTimeDateStatistics
1sean54230.22322024/10/14 07:15:500B / 3823B / 1600B

Lazy-K _

RankUserSizeTimeDateStatistics
1tails7980.04322024/10/04 10:41:540B / 421B / 377B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o772.46942024/10/05 11:23:020B / 42B / 33B

Language Ranking_

RankLangUserSizeScore
1Nibblestails1410000
2gs2tails216666
3sedtails373783
4Perlfuzzylojik433255
5AWKMcBusLuck463043
6xgawkMcBusLuck463043
7Ruby2rotary-o532641
8Rubyrotary-o542592
9Bash (builtins)tails642187
10Python3orthoplex711971
11Scalarotary-o771818
12Crotary-o781794
13Javarotary-o1311068
14C++moon1361029
15C#rotary-o145965
16Whitespacerotary-o266526
17Lazy-Ktails798175
18CLC-INTERCALsean542325

return to the top page