This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<definitions xmlns:wsr="http://www.openuri.org/2002/10/soap/reliability/" | |
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" | |
xmlns="http://schemas.xmlsoap.org/wsdl/" | |
xmlns:soap12enc="http://www.w3.org/2003/05/soap-encoding" | |
xmlns:s="http://www.w3.org/2001/XMLSchema" | |
xmlns:tns="http://api.nhic.or.kr/services/nhic" | |
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" | |
xmlns:conv="http://www.openuri.org/2002/04/wsdl/conversation/" | |
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bodyParser from "body-parser"; | |
import express from "express"; | |
import passport from "passport"; | |
import localPass from "passport-local"; | |
import jwtPass from "passport-jwt"; | |
import jwt from "jsonwebtoken"; | |
const app = express(); | |
app.use(bodyParser.json()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require("fs"); | |
const input = fs.readFileSync("dev/stdin").toString(); | |
const lines = input.trim().split("\n"); | |
const N = Number(lines[0]); | |
const SWITCH = [undefined].concat(lines[1].trim().split(" ").map(Number)); | |
const M = Number(lines[2]); | |
for (let l = 3; l < 3 + M; l++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require('fs'); | |
const input = fs.readFileSync('/dev/stdin').toString() | |
const lines = input.split("\n"); | |
const [n, ...twoNumbers] = lines; | |
twoNumbers.map(twoString => { | |
const [a, b] = twoString.split(" ").map((num) => parseInt(num)); | |
for( let i = 1 ; i <= b ; i ++ ){ | |
if( a * i % b == 0 ) { | |
console.log(a*i); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let fs = require("fs"); | |
let line = fs.readFileSync("/dev/stdin").toString(); // line "3 5" | |
let numbers = line.split(" "); // ["3", "5"] | |
let a = parseInt(numbers[0]); // 3 | |
let b = parseInt(numbers[1]); // 5 | |
console.log(a + b); | |
// var input = fs.readFileSync("/dev/stdin").toString().split(" "); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1 객체 생성 확인 | |
try: | |
my = Account("제한재", "2231") | |
print("채점 #1 : 객체 생성 ✅") | |
except: | |
print("채점 #1 : 객체 생성 ❌") | |
# 2 통장 번호 확인 | |
try: | |
qid = my.getId() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/core" | |
brew "zsh-autosuggestions" | |
brew "zsh-syntax-highlighting" | |
brew "python3" | |
brew "node" | |
brew "exa" | |
brew "git" | |
brew "openjdk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const location1 = [ | |
"서울", | |
"경기", | |
"인천", | |
"강원", | |
"경남", | |
"경북", | |
"광주", | |
"대구", | |
"대전", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
프로젝트 작업 추천 순서 | |
0. 강의자료 한 번 따라해보기 | |
1. html / javascript 만 완성해보기 | |
-> "서버 연동 처리 전에 작업하는 코드" 참고해서, 서버 연동 결과를 있다고 치고, 변수에 미리 넣고 작업해보기 | |
2. python 서버 완성해보기 | |
-> python 코드를 참고하되, DB 연동 결과는 있다고 치고, 변수에 미리 넣고 서버 만들어보기 | |
3. 1에서 완성한 html과, 2에서 완성한 서버를 연동해보기 (난이도: 상) | |
4. DB 만들어서, python 서버와 연동해보기 | |
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def verify(k: int, n: int, box): | |
for i in range(k): | |
s1 = set() | |
for n1 in range(n): | |
for n2 in range(n1 + 1, n): | |
s1.add(abs(box[i][n1] - box[i][n2])) | |
for j in range(i+1, k): | |
s2 = set() | |
for n1 in range(n): | |
for n2 in range(n1 + 1, n): |
NewerOlder