일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
- 영재원
- 1547
- 영재교육원
- 리뷰
- 2965
- 정보보호 영재교육원
- 차세대 보안 리더 양성 프로그램
- 차세대 보안 리더 양성
- boj
- Python
- BoB 후기
- acmicpc
- 2476
- 공주대 정보보호
- 10995
- 11943
- 5586
- 2501
- BOB
- 4101
- 5086
- 11109
- text
- Best of the Best
- EOF
- 2506
- BoB 7기
- 정보보호 영재원
- 10833
- 2605
- Today
- Total
목록Python (182)
짱해커가 되어보자
* Solved 기준 브론즈3 단순 풀이 while True: a,b = map(float, input().split()) if (a,b)==(0,0): break print('{:.3f}'.format((1-(b/a)**2)**0.5)) tb = ta*y tb = ta*(1-v^2/c^2) (tb/ta)^2 = 1 - v^2/c^2 v^2/c^2 = 1 - (tb/ta)^2 [ R = v/c ] v^2 = (1-(tb/ta)^2) v = (1-(ta/tb)^2)^0.5
* Solved 기준 브론즈3 단순 풀이 for i in range(int(input())): n,m = map(int, input().split()) print('Scenario #{}:\n{}\n'.format(i+1,(m-n+1)*(n+m)//2))
* Solved 기준 브론즈3 단순 풀이 s = 0 for _ in range(int(input())): s += sum(map(int, input().split())) print(s)
* Solved 기준 브론즈3 단순 풀이 l = [0,1,1] + [0]*98 for i in range(3,101): l[i] = (i if i%2 else i-1) + l[i-2] for _ in range(int(input())): print(l[int(input())])
* Solved 기준 브론즈3 단순 풀이 def j(v,i): return v%(10**i)//(10**(i-1)) while True: a,b = map(int, input().split()); t,c=0,0 if (a,b)==(0,0): break for i in range(1,len(str(max(a,b)))+1): ta,tb = j(a,i),j(b,i) if(ta+tb+t>=10): c+=1; t=1 else: s=0 print(c)
* Solved 기준 브론즈3 단순 풀이 s = 0 for _ in range(int(input())): n = input(); s += int(n[:-1])**int(n[-1]) print(s)
* Solved 기준 브론즈3 단순 풀이 def cc(l): return 1 if l[2] < l[1]+l[0] else 0 for i in range(int(input())): a,b,c = map(int, input().split()) print('Case #{}: {}'.format(i+1, 'invalid!' if not cc(sorted([a,b,c])) else 'equilateral' if a==b==c else 'isosceles' if a==b or b==c or a==c else 'scalene')) * 5073번과 거의 똑같다
* Solved 기준 브론즈3 단순 풀이 n,m = map(int, input().split()); c=n while(n): n //= m; c += n print(c)
* Solved 기준 브론즈3 단순 풀이 for _ in range(int(input())): n,m = map(int, input().split()) print(-1 if m