Integer Division Returns

AtCoder
IDabc345_b
Time2000ms
Memory256MB
Difficulty
Given an integer $X$ between $-10^{18}$ and $10^{18}$, inclusive, print $\left\lceil \dfrac{X}{10} \right\rceil$. Here, $\left\lceil a \right\rceil$ denotes the smallest integer not less than $a$. ## Constraints * $-10^{18} \leq X \leq 10^{18}$ * $X$ is an integer. ## Input The input is given from Standard Input in the following format: $X$ [samples]
Samples
Input #1
27
Output #1
3

The integers not less than $\frac{27}{10} = 2.7$ are $3, 4, 5, \dots$. Among these, the smallest is $3$, so $\left \lceil \frac{27}{10} \right \rceil = 3$.
Input #2
\-13
Output #2
\-1

The integers not less than $\frac{-13}{10} = -1.3$ are all positive integers, $0$, and $-1$. Among these, the smallest is $-1$, so $\left \lceil \frac{-13}{10} \right \rceil = -1$.
Input #3
40
Output #3
4

The smallest integer not less than $\frac{40}{10} = 4$ is $4$ itself.
Input #4
\-20
Output #4
\-2
Input #5
123456789123456789
Output #5
12345678912345679
API Response (JSON)
{
  "problem": {
    "name": "Integer Division Returns",
    "description": {
      "content": "Given an integer $X$ between $-10^{18}$ and $10^{18}$, inclusive, print $\\left\\lceil \\dfrac{X}{10} \\right\\rceil$.   Here, $\\left\\lceil a \\right\\rceil$ denotes the smallest integer not less than $a$.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc345_b"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Given an integer $X$ between $-10^{18}$ and $10^{18}$, inclusive, print $\\left\\lceil \\dfrac{X}{10} \\right\\rceil$.  \nHere, $\\left\\lceil a \\right\\rceil$ denotes the smallest integer not less than $a$.\n\n...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments