ios sync with stdio(false);

From Esolang
Jump to navigation Jump to search
The title of this article is incorrect because of technical limitations. The correct title is ios::sync_with_stdio(false);.

Introduction

ios::sync_with_stdio(false); is an esolang, which only use one command ios::sync_with_stdio(false);.

Command

You can seperate two ios::sync_with_stdio(false);s with nothing, a space, tab or a linefeed. They have different meanings.

Command Type

ios::sync_with_stdio(false);ios::sync_with_stdio(false);[LF]: I/O. ios::sync_with_stdio(false);[Space]ios::sync_with_stdio(false);[LF]: Arithmetic.

I/O

  • ios::sync_with_stdio(false);ios::sync_with_stdio(false);ios::sync_with_stdio(false);[LF]: Input a char.
  • ios::sync_with_stdio(false);[Space]ios::sync_with_stdio(false);ios::sync_with_stdio(false);[LF]: Input a string.
  • ios::sync_with_stdio(false);[Tab]ios::sync_with_stdio(false);ios::sync_with_stdio(false);[LF]: Input a number.
  • ios::sync_with_stdio(false);ios::sync_with_stdio(false);[Space]ios::sync_with_stdio(false);[LF]: Output the top of the stack as a char, and pop the top.
  • ios::sync_with_stdio(false);[Space]ios::sync_with_stdio(false);[Space]ios::sync_with_stdio(false);[LF]: Output the top of the stack as a string, and pop the top.
  • ios::sync_with_stdio(false);[Tab]ios::sync_with_stdio(false);[Space]ios::sync_with_stdio(false);[LF]: Output the top of the stack as a number, and pop the top.
  • ios::sync_with_stdio(false);ios::sync_with_stdio(false);[Tab]ios::sync_with_stdio(false);[LF]: Output the top of the stack as a char, but don't pop the top.
  • ios::sync_with_stdio(false);[Space]ios::sync_with_stdio(false);[Tab]ios::sync_with_stdio(false);[LF]: Output the top of the stack as a string, but don't pop the top.
  • ios::sync_with_stdio(false);[Tab]ios::sync_with_stdio(false);[Tab]ios::sync_with_stdio(false);[LF]: Output the top of the stack as a number, but don't pop the top.

Arithmetic

  • ios::sync_with_stdio(false);[Space]ios::sync_with_stdio(false);[...]ios::sync_with_stdio(false);[...]...[LF]: Push a positive number. Then write the number in ternary, nothing for 0, [Space] for 1, [Tab] for 2.
  • ios::sync_with_stdio(false);[Tab]ios::sync_with_stdio(false);[...]ios::sync_with_stdio(false);[...]...[LF]: The same as above but negative.
  • ios::sync_with_stdio(false);ios::sync_with_stdio(false);ios::sync_with_stdio(false);[LF]: Push 0.
  • ios::sync_with_stdio(false);ios::sync_with_stdio(false);[Space]ios::sync_with_stdio(false);[Space]ios::sync_with_stdio(false);[LF]: Add the top two elements, and replace them with the answer.
  • ios::sync_with_stdio(false);ios::sync_with_stdio(false);[Tab]ios::sync_with_stdio(false);[Space]ios::sync_with_stdio(false);[LF]: Subtract the top two elements, and replace them with the answer.(The bigger one - the smaller one.)
  • ios::sync_with_stdio(false);ios::sync_with_stdio(false);[Space]ios::sync_with_stdio(false);[Tab]ios::sync_with_stdio(false);: Multiply and replace.
  • ios::sync_with_stdio(false);ios::sync_with_stdio(false);[Tab]ios::sync_with_stdio(false);[Tab]ios::sync_with_stdio(false);: Integer divide and replace.(Big / Small)
  • ios::sync_with_stdio(false);ios::sync_with_stdio(false);ios::sync_with_stdio(false);ios::sync_with_stdio(false);[LF]: Modulo and replace.(Big mod Small)

Example

Cat

ios::sync_with_stdio(false);ios::sync_with_stdio(false);
ios::sync_with_stdio(false); ios::sync_with_stdio(false);ios::sync_with_stdio(false);
ios::sync_with_stdio(false);ios::sync_with_stdio(false);
ios::sync_with_stdio(false); ios::sync_with_stdio(false); ios::sync_with_stdio(false);