add _static

This commit is contained in:
2026-04-27 09:44:16 +09:00
parent 695760da41
commit fe8128ab65
609 changed files with 107700 additions and 0 deletions

View File

@@ -0,0 +1,285 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BOJ 2566 - Offline</title>
<style>
:root {
--bg: #fafaf8;
--paper: #ffffff;
--ink: #1e1f24;
--muted: #6a6d75;
--line: #d8dce3;
--accent: #0d6e6e;
--code-bg: #f4f6fb;
}
* { box-sizing: border-box; }
body {
margin: 0;
background:
radial-gradient(circle at 15% 0%, #f0efe9 0%, transparent 42%),
radial-gradient(circle at 85% 20%, #e7f1f2 0%, transparent 38%),
var(--bg);
color: var(--ink);
font-family: "Noto Sans KR", "Pretendard", "Apple SD Gothic Neo", sans-serif;
line-height: 1.65;
}
main {
max-width: 980px;
margin: 0 auto;
padding: 24px 16px 56px;
}
.header {
background: var(--paper);
border: 1px solid var(--line);
border-radius: 14px;
padding: 18px 20px;
margin-bottom: 18px;
}
.header h1 { margin: 0 0 6px; font-size: 1.5rem; }
.header p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.header a { color: var(--accent); text-decoration: none; }
.section {
background: var(--paper);
border: 1px solid var(--line);
border-radius: 14px;
padding: 16px 18px;
margin-bottom: 14px;
overflow-x: auto;
}
h2 {
margin: 0 0 10px;
font-size: 1.05rem;
color: var(--accent);
border-bottom: 1px solid var(--line);
padding-bottom: 8px;
}
pre, code {
font-family: "JetBrains Mono", "Fira Code", monospace;
background: var(--code-bg);
}
pre {
padding: 12px;
border-radius: 10px;
border: 1px solid #e7ebf2;
overflow: auto;
}
blockquote {
margin: 14px 0;
padding: 16px 16px 14px 22px;
border-left: 4px solid var(--accent);
border-radius: 10px;
background: linear-gradient(90deg, #eef8f8 0%, #f9fdfd 100%);
color: #24313a;
font-weight: 600;
position: relative;
}
blockquote::before {
content: "“";
position: absolute;
left: 8px;
top: 2px;
font-size: 1.35rem;
line-height: 1;
color: #0b5f5f;
opacity: 0.7;
}
blockquote > :first-child { margin-top: 0; }
blockquote > :last-child { margin-bottom: 0; }
q {
color: #114f50;
font-weight: 700;
background: #edf8f8;
border-radius: 6px;
padding: 0 4px;
}
.math-inline math {
font-size: 1em;
vertical-align: middle;
}
.math-block {
margin: 10px 0;
padding: 8px 10px;
overflow-x: auto;
background: #f8fbff;
border: 1px solid #e2ecf8;
border-radius: 8px;
}
.math-block math {
font-size: 1.04em;
display: block;
}
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid var(--line); padding: 6px 8px; }
img { max-width: 100%; height: auto; }
</style>
</head>
<body>
<main>
<header class="header">
<h1>최댓값</h1>
</header>
<article class="section">
<h2>문제</h2>
<p>&lt;그림 1&gt;과 같이 9&times;9 격자판에 쓰여진 81개의 자연수 또는 0이 주어질 때, 이들 중 최댓값을 찾고 그 최댓값이 몇 행 몇 열에 위치한 수인지 구하는 프로그램을 작성하시오.</p>
<p>예를 들어, 다음과 같이 81개의 수가 주어지면</p>
<table class="table table-bordered td-center th-center table-center-40">
<tbody>
<tr>
<th>&nbsp;</th>
<th>1열</th>
<th>2열</th>
<th>3열</th>
<th>4열</th>
<th>5열</th>
<th>6열</th>
<th>7열</th>
<th>8열</th>
<th>9열</th>
</tr>
<tr>
<th>1행</th>
<td>3</td>
<td>23</td>
<td>85</td>
<td>34</td>
<td>17</td>
<td>74</td>
<td>25</td>
<td>52</td>
<td>65</td>
</tr>
<tr>
<th>2행</th>
<td>10</td>
<td>7</td>
<td>39</td>
<td>42</td>
<td>88</td>
<td>52</td>
<td>14</td>
<td>72</td>
<td>63</td>
</tr>
<tr>
<th>3행</th>
<td>87</td>
<td>42</td>
<td>18</td>
<td>78</td>
<td>53</td>
<td>45</td>
<td>18</td>
<td>84</td>
<td>53</td>
</tr>
<tr>
<th>4행</th>
<td>34</td>
<td>28</td>
<td>64</td>
<td>85</td>
<td>12</td>
<td>16</td>
<td>75</td>
<td>36</td>
<td>55</td>
</tr>
<tr>
<th>5행</th>
<td>21</td>
<td>77</td>
<td>45</td>
<td>35</td>
<td>28</td>
<td>75</td>
<td>90</td>
<td>76</td>
<td>1</td>
</tr>
<tr>
<th>6행</th>
<td>25</td>
<td>87</td>
<td>65</td>
<td>15</td>
<td>28</td>
<td>11</td>
<td>37</td>
<td>28</td>
<td>74</td>
</tr>
<tr>
<th>7행</th>
<td>65</td>
<td>27</td>
<td>75</td>
<td>41</td>
<td>7</td>
<td>89</td>
<td>78</td>
<td>64</td>
<td>39</td>
</tr>
<tr>
<th>8행</th>
<td>47</td>
<td>47</td>
<td>70</td>
<td>45</td>
<td>23</td>
<td>65</td>
<td>3</td>
<td>41</td>
<td>44</td>
</tr>
<tr>
<th>9행</th>
<td>87</td>
<td>13</td>
<td>82</td>
<td>38</td>
<td>31</td>
<td>12</td>
<td>29</td>
<td>29</td>
<td>80</td>
</tr>
</tbody>
</table>
<p>이들 중 최댓값은 90이고, 이 값은 5행 7열에 위치한다.</p>
</article>
<article class="section">
<h2>입력</h2>
<p>첫째 줄부터 아홉 번째 줄까지 한 줄에 아홉 개씩 수가 주어진다. 주어지는 수는 100보다 작은 자연수 또는 0이다.</p>
</article>
<article class="section">
<h2>출력</h2>
<p>첫째 줄에 최댓값을 출력하고, 둘째 줄에 최댓값이 위치한 행 번호와 열 번호를 빈칸을 사이에 두고 차례로 출력한다. 최댓값이 두 개 이상인 경우 그 중 한 곳의 위치를 출력한다.</p>
</article>
<article class="section">
<h2>예제 입력 1 복사</h2>
<pre class="sampledata" id="sample-input-1">3 23 85 34 17 74 25 52 65
10 7 39 42 88 52 14 72 63
87 42 18 78 53 45 18 84 53
34 28 64 85 12 16 75 36 55
21 77 45 35 28 75 90 76 1
25 87 65 15 28 11 37 28 74
65 27 75 41 7 89 78 64 39
47 47 70 45 23 65 3 41 44
87 13 82 38 31 12 29 29 80
</pre>
</article>
<article class="section">
<h2>예제 출력 1 복사</h2>
<pre class="sampledata" id="sample-output-1">90
5 7
</pre>
</article>
</main>
</body>
</html>