prithivMLmods/Coder-Stat
Coder-Stat Dataset Overview The Coder-Stat dataset is a collection of programming-related data, including problem IDs, programming languages, original statuses, and source code snippets. This dataset is designed to assist in the analysis of coding patterns, error types, and performance metrics. Dataset Details Modalities Tabular: The dataset is structured in a tabular format. Text: Contains text data, including source code snippets.… See the full description on the dataset page: https://huggingface.co/datasets/prithivMLmods/Coder-Stat.
3139
1<h1>Celsius/Fahrenheit</h1>2 3<p>4 In Japan, temperature is usually expressed using the Celsius (℃) scale. In America, they used the Fahrenheit (℉) scale instead. $20$ degrees Celsius is roughly equal to $68$ degrees Fahrenheit. A phrase such as "Today’s temperature is $68$ degrees" is commonly encountered while you are in America.5</p>6 7<p>8A value in Fahrenheit can be converted to Celsius by first subtracting $32$ and then multiplying by $\frac{5}{9}$. A simplified method may be used to produce a rough estimate: first subtract $30$ and then divide by $2$. Using the latter method, $68$ Fahrenheit is converted to $19$ Centigrade, i.e., $\frac{(68-30)}{2}$.9</p>10 11<p>12 Make a program to convert Fahrenheit to Celsius using the simplified method: $C = \frac{F - 30}{2}$.13</p>14 15<h2>Input</h2>16<p>17 The input is given in the following format.18</p>19 20<pre>21$F$22</pre>23<p>24 The input line provides a temperature in Fahrenheit $F$ ($30 \leq F \leq 100$), which is an integer divisible by $2$.25</p>26 27<h2>Output</h2>28<p>29 Output the converted Celsius temperature in a line.30</p>31 32<h2>Sample Input 1</h2>33<pre>346835</pre>36 37<h2>Sample Output 1</h2>38<pre>391940</pre>41 42<h2>Sample Input 2</h2>43<pre>445045</pre>46<h2>Sample Output 2</h2>47<pre>481049</pre>50 