Team Ai
Datasetpublic

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.

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
3likes139downloads
p00373.html82 linesDownload Raw Back to problem_descriptions
1<H1>Aerial Photos</H1>2 3<p>4Hideyo has come by two aerial photos of the same scale and orientation. You can see various types of buildings, but some areas are hidden by clouds. Apparently, they are of the same area, and the area covered by the second photograph falls entirely within the first. However, because they were taken at different time points, different shapes and distribution of clouds obscure identification where the area in the second photograph is located in the first. There may even be more than one area within the first that the second fits equally well.5</p>6 7<p>8  A set of pixel information is given for each of the photographs. Write a program to extract candidate sub-areas within the first photograph that compare with the second equally well and output the number of the candidates.9</p>10 11<h2>Input</h2>12 13<p>14The input is given in the following format.15</p>16 17<pre>18<var>AW</var> <var>AH</var> <var>BW</var> <var>BH</var>19<var>arow<sub>1</sub></var>20<var>arow<sub>2</sub></var>21:22<var>arow<sub>AH</sub></var>23<var>brow<sub>1</sub></var>24<var>brow<sub>2</sub></var>25:26<var>brow<sub>BH</sub></var>27</pre>28 29<p>30The first line provides the number of pixels in the horizontal and the vertical direction <var>AW</var> (1 &le; <var>AW</var> &le; 800) and <var>AH</var> (1 &le; <var>AH</var> &le; 800) for the first photograph, followed by those for the second <var>BW</var> (1 &le; <var>BW</var> &le; 100) and <var>BH</var> (1 &le; <var>BH</var> &le; 100) (<var>AW</var> &ge; <var>BW</var> and<var>AH</var> &ge; <var>BH</var>). Each of the subsequent <var>AH</var> lines provides pixel information (<var>arow<sub>i</sub></var>) of the <var>i</var>-th row from the top of the first photograph. Each of the <var>B</var>H lines that follows provides pixel information (<var>brow<sub>i</sub></var>) of the <var>i</var>-th row from the top of the second photograph.31 32</p>33 34<p>35  Each of the pixel information <var>arow<sub>i</sub></var> and <var>brow<sub>i</sub></var> is a string of length <var>AW</var> and <var>BW</var>, respectively, consisting of upper/lower-case letters, numeric characters, or "<span>?</span>". Each one character represents a pixel, whereby upper/lower-case letters and numeric characters represent a type of building, and "<span>?</span>" indicates a cloud-covered area.36</p>37 38 39<h2>Output</h2>40 41<p>42  Output the number of the candidates.43</p>44 45<h2>Sample Input 1</h2>46 47<pre>485 5 3 349AF??z50W?p8851???Hk52pU?m?53F???c54F??55p?856?H?57</pre>58 59<h2>Sample Output 1</h2>60<pre>61462</pre>63 64 65<h2>Sample Input 2</h2>66 67<pre>686 5 4 269aaaaaa70aaaaaa71aaaaaa72aaaaaa73aaaaaa74aaaa75aaaa76</pre>77 78<h2>Sample Output 2</h2>79<pre>801281</pre>82