Skip to content

Commit 97f5d5b

Browse files
committed
캠프 콘테스트 솔루션을 로컬에 추가
1 parent 0b65bad commit 97f5d5b

9 files changed

+22
-12
lines changed

pages/campcontest.page.js

+6-12
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,9 @@ const CampContest = ({ seasonList_, seasonData_ }) => {
179179
문제(BOJ 링크)
180180
</ArchiveButton>
181181
<ArchiveButton
182-
href={
183-
(currentSeasonIdx > 1 ? "https://api.suapc.kr/" : "/res/") +
184-
`${currentYear}${currentSeason === "Winter" ? "w" : "s"}/${
185-
currentSeasonData.fileNames.solutionPdf
186-
}`
187-
}
182+
href={`/res/${currentYear}${
183+
currentSeason === "Winter" ? "w" : "s"
184+
}/${currentSeasonData.fileNames.solutionPdf}`}
188185
>
189186
해설 PDF
190187
</ArchiveButton>
@@ -351,12 +348,9 @@ const CampContest = ({ seasonList_, seasonData_ }) => {
351348
문제(BOJ 링크)
352349
</ArchiveButton>
353350
<ArchiveButton
354-
href={
355-
(currentSeasonIdx > 1 ? "https://api.suapc.kr/" : "/res/") +
356-
`${currentYear}${currentSeason === "Winter" ? "w" : "s"}/${
357-
currentSeasonData.fileNames.solutionPdf
358-
}`
359-
}
351+
href={`/res/${currentYear}${
352+
currentSeason === "Winter" ? "w" : "s"
353+
}/${currentSeasonData.fileNames.solutionPdf}`}
360354
>
361355
해설 PDF
362356
</ArchiveButton>

public/history/halloffame/2020 Summer.json

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
"year": 2020,
33
"season": "Summer",
44
"date": "2020년 8월 31일 오후 2시 ~ 오후 5시",
5+
"fileNames": {
6+
"solutionPdf": "ICPC_Sinchon_2020_Summer_Camp_Contest.pdf"
7+
},
8+
"links": [
9+
"https://www.acmicpc.net/category/794",
10+
"https://www.acmicpc.net/contest/board/532",
11+
"https://www.acmicpc.net/contest/board/533"
12+
],
513
"studies": [
614
{
715
"topic": "초급",

public/history/halloffame/2021 Winter.json

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
"year": 2021,
33
"season": "Winter",
44
"date": "2021년 2월 20일 오후 1시 ~ 오후 5시",
5+
"fileNames": {
6+
"solutionPdf": "2021W-SinchonCamp-solutions.pdf"
7+
},
8+
"links": [
9+
"https://www.acmicpc.net/category/795",
10+
"https://www.acmicpc.net/contest/spotboard/588",
11+
"https://www.acmicpc.net/contest/spotboard/589"
12+
],
513
"studies": [
614
{
715
"topic": "초급",
Binary file not shown.
Binary file not shown.
Binary file not shown.
230 KB
Binary file not shown.
598 KB
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)