Skip to content

Commit ff35191

Browse files
committed
update
2 parents c21cac8 + e614938 commit ff35191

File tree

62 files changed

+11828
-1954
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+11828
-1954
lines changed

.github/workflows/main.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: dataUpdate
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'data/**'
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v2
17+
18+
- name: Set up Git identity
19+
run: |
20+
git config user.email "${{ github.actor }}@users.noreply.github.com"
21+
git config user.name "${{ github.actor }}"
22+
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install pandas
27+
pip install numpy
28+
29+
- name: Collect data
30+
run: |
31+
python dataAnalysis/macro/main.py
32+
33+
- name: Commit and push macro data changes
34+
run: |
35+
git add dataAnalysis/macro/data.json dataAnalysis/excluded_list.txt
36+
git commit -m "Update macro data.json and excluded_list.txt"
37+
git push https://github.com/Algorithm-Coding-Test-Data-Analysis/algoview.git HEAD:${{ github.ref }}
38+
39+
- name: Analyze data
40+
run: |
41+
python dataAnalysis/notebook/main.py
42+
43+
- name: Commit and push notebook data changes
44+
run: |
45+
git add dataAnalysis/notebook/chart_data.json
46+
git commit -m "Update notebook data.json"
47+
git push https://github.com/Algorithm-Coding-Test-Data-Analysis/algoview.git HEAD:${{ github.ref }}

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"editor.formatOnSave": true,
3-
"liveServer.settings.port": 5503
3+
"liveServer.settings.port": 5504
44
}

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# algoview
2-
* [algoview.co.kr](https://algoview.co.kr)에서 서비스 중입니다.
2+
3+
- [algoview.co.kr](https://algoview.co.kr)에서 서비스 중입니다.
4+
35
## 목적
46

57
- 알고리즘 테스트 데이터 분석 서비스
@@ -10,7 +12,14 @@
1012
## 기여하기
1113

1214
- 컨트리뷰팅 가이드
15+
- 현재 기여자를 모집하고 있지는 않습니다. 고도화, 문제 다양화, 분석에 기여하고 싶은 부분이 있으신 분은 [email protected]로 연락주세요.
16+
- 문제는 양식에 따라 push 하면 자동으로 분석되어 차트에 반영됩니다. 분석이 안되었을 경우에는 양식에 따라 업로드가 되지 않은 것입니다.
17+
확인이 필요하시다면, 'dataAnalysis/excluded_list.txt'에서 확인 부탁드립니다.
1318

1419
## 기여자(이름순)
1520

16-
`강윤정` `강은초` `김가람` `김영조` `김의호` `김용덕` `김예린` `김지현` `김진` `김태은` `김태호` `김하연` `김하연(데이터분석)` `김현태` `노태희` `노희연` `민성철` `박재영` `백승지` `서윤정` `오가은` `오세원` `원석규` `유하은` `윤나요` `은혜연` `이광호` `이보경` `이상용` `이선근` `이윤석` `이재호` `이지섭` `이지수` `이호준` `임수정` `임준혁` `정서영` `정선빈` `정준영` `정혜민` `조원영` `최사라`
21+
`김민수` `강윤정` `강은초` `김가람` `김영조` `김의호` `김용덕` `김예린` `김지현` `김진` `김태은` `김태호` `김하연` `김하연(데이터분석)` `김현태` `노태희` `노희연` `민성철` `박재영` `백승지` `서윤정` `오가은` `오세원` `원석규` `유하은` `윤나요` `은혜연` `이광호` `이보경` `이상용` `이선근` `이윤석` `이재호` `이지섭` `이지수` `이호준` `임수정` `임준혁` `정서영` `정선빈` `정준영` `정혜민` `조원영` `최사라`
22+
23+
## 추가 과업
24+
25+
- google analytics 삽입
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
const cat =
2+
`\\ /\\
3+
) ( ')
4+
( / )
5+
\\(__)|
6+
`;
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
function solution(s) {
2+
const regex = /[a-zA-Z]/g;
3+
4+
return !regex.test(s) ? s.length === 4 || s.length === 6 : false;
5+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
process.stdin.setEncoding('utf8');
2+
process.stdin.on('data', data => {
3+
const n = data.split(' ');
4+
const a = Number(n[0]),
5+
b = Number(n[1]);
6+
7+
console.log(('*'.repeat(a) + '\n').repeat(b));
8+
});
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
function solution(arr1, arr2) {
2+
let answer = [];
3+
4+
for (let i = 0; i < arr1.length; i++) {
5+
let tempArr = [];
6+
7+
for (let j = 0; j < arr1[0].length; j++) tempArr.push(arr1[i][j] + arr2[i][j]);
8+
9+
answer.push(tempArr);
10+
}
11+
return answer;
12+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
function solution(s) {
2+
var answer = '';
3+
4+
let arr = s.split(' ');
5+
arr = arr.map(item => {
6+
return parseInt(item, 10);
7+
});
8+
const min = Math.min.apply(null, arr);
9+
const max = Math.max.apply(null, arr);
10+
11+
answer = min + ' ' + max;
12+
13+
return answer;
14+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
def solution(babbling):
2+
c = 0
3+
for b in babbling:
4+
for w in [ "aya", "ye", "woo", "ma" ]:
5+
if w * 2 not in b:
6+
b = b.replace(w, ' ')
7+
if len(b.strip()) == 0:
8+
c += 1
9+
return c
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
def solution(x, n):
2+
if x == 0:
3+
return [0 for _ in range(n)]
4+
elif x >= 1:
5+
answer = [val for val in range(x, x * n + 1, x)]
6+
else:
7+
answer = [val for val in range(x, x * n - 1, x)]
8+
return answer

0 commit comments

Comments
 (0)