跳到正文

算法·理论

A+B Problem 题解

Priestess_SLG约 1 分钟
原文
文章信息与版本

文章信息

收录
2025年12月12日
更新
2025年12月12日
篇幅
约 1 分钟

版本

  1. v1当前

三标符:

  • { ⟶ ??<\lbrace\ \longrightarrow\ \texttt{??<}
  • } ⟶ ??>\rbrace\ \longrightarrow\ \texttt{??>}
  • [ ⟶ ??([\ \longrightarrow \ \texttt{??(}
  • ] ⟶ ??)]\ \longrightarrow \ \texttt{??)}
  • # ⟶ ??=\texttt{\#}\ \longrightarrow\ \texttt{??=}
  • \ ⟶ ??/\backslash\ \longrightarrow\ \texttt{??/}
  • ^ ⟶ ??’\longrightarrow\ \texttt{??'}
  • ∣ ⟶ ??!|\ \longrightarrow\ \texttt{??!}
  • ∼ ⟶ ??-\sim\ \longrightarrow\ \texttt{??-}

代用符号:

pkirtJS.png

注意三标符已经被弃用,需要在编译命令中添加 -trigraphs。

C
%:include<stdio.h>
int main()??<
    int a,b;
    scanf("%d%d",&a,&b);
    printf("%d??/n",a+b);
    return 256;
??>
原文