기본 수학(5)
-
[coding test] Baekjoon_level 9_기본 수학 2-3
Ver. Jupyter Notebook (Anaconda3) ▶ coding test_Baekjoon_level 9_기본 수학 2-3 - 백준: baekjoon - 코딩 및 결과: github JeongJaeyoung0/coding_test 코딩테스트. Contribute to JeongJaeyoung0/coding_test development by creating an account on GitHub. github.com - math.pi: π(파이) >>> import math >>> math.pi - 부동실수 오차 >>> 0.1+0.2 Out: 0.30000000000000004 >>> 0.1+0.2==0.3 Out: False >>> import decimal >>> decimal.Decimal..
2021.06.06 -
[coding test] Baekjoon_level 9_기본 수학 2-2
Ver. Jupyter Notebook (Anaconda3) ▶ coding test_Baekjoon_level 9_기본 수학 2-2 - 백준: baekjoon - 코딩 및 결과: github JeongJaeyoung0/coding_test 코딩테스트. Contribute to JeongJaeyoung0/coding_test development by creating an account on GitHub. github.com - ^(caret): XOR a b a xor b 0 0 0 0 1 1 1 0 1 1 1 0 >>> a=10; b=0 >>> a^b Out: 10 2021.06.05 # coding test_Baekjoon_level 9_기본 수학 2-2 # 9020 (골드바흐의 추측)-1 # 시간..
2021.06.05 -
[coding test] Baekjoon_level 9_기본 수학 2-1
Ver. Jupyter Notebook (Anaconda3) ▶ coding test_Baekjoon_level 9_기본 수학 2-1 - 백준: baekjoon - 코딩 및 결과: github JeongJaeyoung0/coding_test 코딩테스트. Contribute to JeongJaeyoung0/coding_test development by creating an account on GitHub. github.com - all 함수: 모든 요소가 True일 경우 True로 반환 >>> all([1,1,1,]) Out: True >>> all[(1,0,1]) Out: False 2021.06.04 # coding test_Baekjoon_level 9_기본 수학 2-1 # 1978 (소수 찾기)-..
2021.06.04 -
[coding test] Baekjoon_level 8_기본 수학 1-2
Ver. Jupyter Notebook (Anaconda3) ▶ coding test_Baekjoon_level 8_기본 수학 1-2 - 백준: baekjoon - 코딩 및 결과: github JeongJaeyoung0/coding_test 코딩테스트. Contribute to JeongJaeyoung0/coding_test development by creating an account on GitHub. github.com 2021.06.02 # coding test_Baekjoon_level 8_기본 수학 1-2 # 2775 (부녀회장이 될테야)-1 t=int(input()) apart=[[0]*15 for _ in range(15)] for i in range(15): apart[0][i]=i fo..
2021.06.02 -
[coding test] Baekjoon_level 8_기본 수학 1-1
Ver. Jupyter Notebook (Anaconda3) ▶ coding test_Baekjoon_level 8_기본 수학 1-1 - 백준: baekjoon - 코딩 및 결과: github JeongJaeyoung0/coding_test 코딩테스트. Contribute to JeongJaeyoung0/coding_test development by creating an account on GitHub. github.com 2021.06.01 # coding test_Baekjoon_level 8_기본 수학 1-1 # 1712 (손익분기점)-1 a,b,c=map(int,input().split()) if b>=c:print('-1') else:print(a//(c-b)+1) # 1712 (손익분기점)-..
2021.06.01