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 { CanActivate, ExecutionContext, Injectable } from '@nestjs/common'; | |
import { ConfigService } from '@nestjs/config'; | |
import { PassportStrategy } from '@nestjs/passport'; | |
import { Profile, Strategy } from 'passport-kakao'; | |
export class KakaoProvider { | |
constructor( | |
public readonly clientID: string, | |
public readonly response_type: string, | |
public readonly clientSecret: string, |
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
# κΈ°λ³Έμ μΈ μ§ν© μ΄κΈ°ν | |
S = set() | |
# μμλ₯Ό μΆκ° | |
S.add(i) | |
# μ§ν©μ 곡μ§ν©μΌλ‘ λ§λ€ κ²½μ° | |
S.clear() | |
# remove λ©μλλ μμ§λ§, μ§ν©μ μλ μλ₯Ό μ κ±°νλ €κ³ ν λ, removeλ μ€λ₯λ₯Ό λ°μμν€λ―λ‘ |
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 sys | |
input = sys.stdin.readline | |
print = sys.stdout.write |
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
# κΈ°μ‘΄ λ°°μ΄μ κ°μ μ λ ₯λ°λλ€. | |
n_arr = list(map(int, input().split())) | |
# λμ ν© λ°°μ΄μ μ΄κΈ°ν νλ€. | |
p_arr = [0] | |
# λμ ν©μ νμ¬ λ°°μ΄μ κ°μ λ£λλ€. | |
for i in n_arr: | |
p_arr.append(p_arr[-1] + i) | |
answers = [] |
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
π Morning 32 commits βββββββββββββββββββββ 6.0% | |
π Daytime 275 commits βββββββββββββββββββββ 51.7% | |
π Evening 160 commits βββββββββββββββββββββ 30.1% | |
π Night 65 commits βββββββββββββββββββββ 12.2% |