计算 (a+b)/c 的值

Luogu
IDLGB2009
Time1000ms
Memory128MB
DifficultyP1
顺序结构
给定 $3$ 个整数 $a,b,c$,计算表达式 $(a+b)/c$ 的值,`/` 是整除运算。 ## Input 输入仅一行,包括三个整数 $a,b,c$,数与数之间以一个空格分开。 ## Output 输出一行,即表达式的值。 [samples] ## Note 对于 $100 \%$ 的数据,$-{10}^4 < a, b, c < {10}^4$,$c \ne 0$。
Samples
Input #1
1 1 3
Output #1
0
API Response (JSON)
{
  "problem": {
    "name": "计算 (a+b)/c 的值",
    "description": {
      "content": "给定 $3$ 个整数 $a,b,c$,计算表达式 $(a+b)/c$ 的值,`/` 是整除运算。",
      "description_type": "Markdown"
    },
    "platform": "Luogu",
    "limit": {
      "time_limit": 1000,
      "memory_limit": 131072
    },
    "difficulty": {
      "LuoguStyle": "P1"
    },
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "LGB2009"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "给定 $3$ 个整数 $a,b,c$,计算表达式 $(a+b)/c$ 的值,`/` 是整除运算。\n\n## Input\n\n输入仅一行,包括三个整数 $a,b,c$,数与数之间以一个空格分开。\n\n## Output\n\n输出一行,即表达式的值。\n\n[samples]\n\n## Note\n\n对于 $100 \\%$ 的数据,$-{10}^4 < a, b, c < {10}^4$,$c \\ne 0$。...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments