正文
增加 47 行删除 4 行
12345678956 行未改动6667686970717273747593 行未改动169170171172173174175176177178# Brainfuck 语法:::info[官方解释]|符号|解释||:--:|:--||>|increment the data pointer (to point to the next cell to the right).|<|decrement the data pointer (to point to the next cell to the left).|+|increment (increase by one) the byte at the data pointer.|-|decrement (decrease by one) the byte at the data pointer.|.|output the byte at the data pointer.56 行未改动先分析第一行 `++++ ++++`:第一轮循环:我们可以注意到,每一轮循环都会使第一个格子 $-1$,第二个格子 $+6$,知道第一格清零,第二格就变成了 $8\times6$。93 行未改动## 引言请你熟背 ASCII 码表并且安装一个 Brainfuck 编译/解释器。## NOT GATE## 带余除法## 比较器## BASE 6412345678956 行未改动6667686970717273747593 行未改动169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221# Brainfuck 语法:::info[官方解释]|符号|解释||:--:|:--||>|increment the data pointer (to point to the next cell to the right).|<|decrement the data pointer (to point to the next cell to the left).|+|increment (increase by one) the byte at the data pointer.|-|decrement (decrease by one) the byte at the data pointer.|.|output the byte at the data pointer.56 行未改动先分析第一行 `++++ ++++`:第一轮循环:我们可以注意到,每一轮循环都会使第一个格子 $-1$,第二个格子 $+6$,知道第一格清零,第二格就变成了 $8\times6$。93 行未改动## 引言请你熟背 ASCII 码表并且安装一个 Brainfuck 编译/解释器。## NOT GATE::::info[题目]输入一个字符,请你判断是否有输入。也就是输入 $c$,计算 $!c$。::::::::info情况一:|67|0|0|0|:--:|:--:|:--:|:--:|+||||67|1|0|0|:--:|:--:|:--:|:--:||+|||67|0|0|0|:--:|:--:|:--:|:--:||+||情况二:|0|0|0|0|:--:|:--:|:--:|:--:|+||||0|1|0|0|:--:|:--:|:--:|:--:||+|||0|1|0|0|:--:|:--:|:--:|:--:||+||::::::::success```,>[-]+< 加 1[>->] 如果不为 0,则减 1>[>>]<< 两种情况指针位置合并```::::## 带余除法::::info[题目]给你 $cell #1$ 和 $cell #2$,请求出它们的商和余数。::::## 比较器## BASE 64