File size: 3,117 Bytes
d0210ab
d28b94d
 
 
 
 
d0210ab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d28b94d
d0210ab
d28b94d
 
d0210ab
 
 
 
 
5aaab67
 
d0210ab
5aaab67
efaa70c
5aaab67
843b59d
5aaab67
a846935
c6b7c04
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53275f7
c6b7c04
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
---
language:
- ja
license: cc-by-sa-4.0
size_categories:
- 1K<n<10K
dataset_info:
  features:
  - name: contest
    dtype: string
  - name: contest_url
    dtype: string
  - name: url
    dtype: string
  - name: alphabet
    dtype: string
  - name: name
    dtype: string
  - name: score
    dtype: string
  - name: correct
    dtype: int64
  - name: total
    dtype: int64
  - name: editorials
    list:
    - name: content
      dtype: string
    - name: text
      dtype: string
    - name: url
      dtype: string
  - name: task_content
    dtype: string
  splits:
  - name: train
    num_bytes: 2980019
    num_examples: 1478
  download_size: 1380260
  dataset_size: 2980019
configs:
- config_name: default
  data_files:
  - split: train
    path: data/train-*
tags:
- math
---

# OnlineMathContest 1.4k

1.4k pairs dataset of math problems and their solutions in Japanese scraped from [OnlineMathContest](https://onlinemathcontest.com/).

**Notice: All problems and solutions have source urls (the `url` field), and their authors and OnlineMathContest own the copyrights.**

## Dataset fields

- `contest`: Name of the contest that contains each problem.
- `contest_url`: The url of a contest that contains each problem.
- `url`: The url of each problem.
- `alphabet`: The alphabet of each problem. (e.g. `A`, `B`, ...)
- `name`: The name of each problem.
- `score`: The number of points earned for solving each problem.
- `correct`: The number of people who could solve each problem during their contest.
- `total`: The total number of people who tried to solve each problem during their contest.
- `editorials`: The solution and explanation of each problem by the author or volunteers.
  - `url`: The url of each solution.
  - `name`: The name of each solution. (e.g. `公式解説`)
  - `content`: The content text of each solution. This might be null sometimes.
- `task_content`: The content text of each problem.

`editorials.content` and `task_content` uses Markdown and [KaTeX](https://katex.org/) markup.

## Example

```json
{
    "contest": "OMC215 (お茶ゼミ√+杯)",
    "contest_url": "https://onlinemathcontest.com/contests/omc215",
    "url": "https://onlinemathcontest.com/contests/omc215/tasks/9284",
    "alphabet": "A",
    "name": "OMC215(A)",
    "score": "100",
    "correct": 387,
    "total": 412,
    "editorials": [
        {
            "content": "$$\\frac{a^2-1001a+1001^2}{b^2-1001b+1001^2}\\leq\\frac{\\max\\lbrace a^2-1001a+1001^2\\rbrace}{\\min\\lbrace b^2-1001b+1001^2\\rbrace}$$\r\nであり,等号が成立するのは $a=1,1000$ かつ $b=500,501$ のときであるので解答すべき値は\r\n$$(1+500)+(1+501)+(1000+500)+(1000+501)=\\mathbf{4004}.$$",
            "text": "公式解説",
            "url": "https://onlinemathcontest.com/contests/omc215/editorial/9284"
        }
    ],
    "task_content": "  $1\\leq a\\leq 1000, ~ 1\\leq b\\leq 1000$ なる整数 $a,b$ について,\r\n$$\\frac{a^2-1001a+1001^2}{b^2-1001b+1001^2}$$\r\nがありうる最大の値をとるとき,$a+b$ としてありうる値の総和を求めてください."
}
```