answer
Provide Baekjoon problem analysis, complexity calculation, and working C++ and JavaScript code from a problem ID.
Instructions
백준 문제 ID를 받아 문제 분석, 복잡도 계산, 그리고 C++ 및 JavaScript로 작성된 최적의 정답 코드를 제공합니다.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"problemId": "<problemId>"
},
"name": "answer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| problemId | Yes | 백준 문제 번호 |