[蓝桥杯青少年组省赛 2023] 特殊运算符

Luogu
IDLGB4270
Time1000ms
Memory512MB
DifficultyP1
2023顺序结构蓝桥杯青少年组
假定有一个运算符 $\texttt{>>>}$,它的功能如下所示: $$\texttt{>>>}\ 257 = 25$$ $$\texttt{>>>}\ 182 = 18$$ $$\texttt{>>>}\ 933 = 93$$ 给定一个正整数 $N(100<N<1000)$,请计算 $N - (\texttt{>>>}\ N)$ 的结果。 例如:$N=257$ 时,$257 - (\texttt{>>>}\ 257) = 257 - 25 = 232$。 ## Input 输入一个正整数 $N(100<N<1000)$。 ## Output 输出一个整数,表示 $N - (\texttt{>>>}\ N)$ 的结果 [samples]
Samples
Input #1
257
Output #1
232
API Response (JSON)
{
  "problem": {
    "name": "[蓝桥杯青少年组省赛 2023] 特殊运算符",
    "description": {
      "content": "假定有一个运算符 $\\texttt{>>>}$,它的功能如下所示: $$\\texttt{>>>}\\ 257 = 25$$ $$\\texttt{>>>}\\ 182 = 18$$ $$\\texttt{>>>}\\ 933 = 93$$ 给定一个正整数 $N(100<N<1000)$,请计算 $N - (\\texttt{>>>}\\ N)$ 的结果。 例如:$N=257$ 时,$257 - (\\t",
      "description_type": "Markdown"
    },
    "platform": "Luogu",
    "limit": {
      "time_limit": 1000,
      "memory_limit": 524288
    },
    "difficulty": {
      "LuoguStyle": "P1"
    },
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "LGB4270"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "假定有一个运算符 $\\texttt{>>>}$,它的功能如下所示:\n\n$$\\texttt{>>>}\\ 257 = 25$$\n\n$$\\texttt{>>>}\\ 182 = 18$$\n\n$$\\texttt{>>>}\\ 933 = 93$$\n\n给定一个正整数 $N(100<N<1000)$,请计算 $N - (\\texttt{>>>}\\ N)$ 的结果。\n\n例如:$N=257$ 时,$257 - (\\t...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments