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 2<script type="text/x-mathjax-config">3 MathJax.Hub.Config({ tex2jax: { inlineMath: [["$","$"], ["\\(","\\)"]], processEscapes: true }});4</script>5<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">6</script>7 8<H1>Circles Intersection</H1>9 10<p>11You are given circle $A$ with radius $r_a$ and with central coordinate $(x_a, y_a)$ and circle $B$ with radius $r_b$ and with central coordinate $(x_b, y_b)$.12</p>13<p>14Write a program which prints:15</p>16<ul>17<li>"2" if $B$ is in $A$,</li>18<li>"-2" if $A$ is in $B$, </li>19<li>"1" if circumference of $A$ and $B$ intersect, and</li>20<li>"0" if $A$ and $B$ do not overlap.</li>21</ul>22 23<p>24You may assume that $A$ and $B$ are not identical.25</p>26 27<H2>Input</H2>28 29<p>30The input consists of multiple datasets. The first line consists of an integer $N$ ($N \leq 50$), the number of datasets. There will be $N$ lines where each line represents each dataset. Each data set consists of real numbers:<br/>31<br/>32$x_a$ $y_a$ $r_a$ $x_b$ $y_b$ $r_b$<br/>33</p>34 35<H2>Output</H2>36 37<p>38For each dataset, print 2, -2, 1, or 0 in a line.39</p>40 41<H2>Sample Input</H2>42 43<pre>442450.0 0.0 5.0 0.0 0.0 4.0460.0 0.0 2.0 4.1 0.0 2.047</pre>48 49<H2>Output for the Sample Input</H2>50 51<pre>52253054</pre>55 56 57 58 