This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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/" |
OlderNewer