일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- SuNiNaTas
- xcz.kr
- Database
- Web
- 인코그니토
- Web Hacking
- 문자열
- Forensics
- Network
- Incognito
- 정렬
- misc
- 그리디 알고리즘
- 구현
- N0Named
- Digital Forensics
- 사칙연산
- HackCTF
- Text
- wargame
- Python
- CTF
- 백준
- MySQL
- 수학
- cryptography
- C
- php
- writeup
- 써니나타스
- Today
- Total
목록Python (267)
보안을 그리다, 훈이
[Baekjoon/Python3] 18301번 Rats www.acmicpc.net/problem/18301 18301번: Rats To celebrate the Lunar New Year of the Rat, Douglas decides to count the number of rats living in his area. It is impossible for him to find all rats, as they tend to be well hidden. However, on the first day of the new year, Douglas manages to capture n1 www.acmicpc.net import math n1, n2, n12 = map(int, input().split()) ..
[Baekjoon/Python3] 18108번 1998년생인 내가 태국에서는 2541년생?! www.acmicpc.net/problem/18108 18108번: 1998년생인 내가 태국에서는 2541년생?! ICPC Bangkok Regional에 참가하기 위해 수완나품 국제공항에 막 도착한 팀 레드시프트 일행은 눈을 믿을 수 없었다. 공항의 대형 스크린에 올해가 2562년이라고 적혀 있던 것이었다. 불교 국가인 태국 www.acmicpc.net print(int(input())-543)
[Baekjoon/Python3] 17863번 FYI www.acmicpc.net/problem/17863 17863번: FYI In the United States of America, telephone numbers within an area code consist of 7 digits: the prefix number is the first 3 digits and the line number is the last 4 digits. Traditionally, the 555 prefix number has been used to provide directory informatio www.acmicpc.net s = input() if s[:3] == '555': print('YES') else: pri..
[Baekjoon/Python3] 17496번 스타후르츠 www.acmicpc.net/problem/17496 17496번: 스타후르츠 1, 11, 21, 31, 41 일에 스타후르츠 씨앗을 심으면 됩니다. 51일에 심으면 61일에 수확이 가능한데 여름은 60일까지 이므로 61일에는 수확할 수 없습니다. 따라서 총 5 * 300 = 1500개의 스타후르츠를 수확 www.acmicpc.net N, T, C, P = map(int, input().split()) print((N - 1) // T * C * P)
[Baekjoon/Python3] 17450번 과자 사기 www.acmicpc.net/problem/17450 17450번: 과자 사기 입력은 총 3개의 줄로 이루어지며, 각 줄에는 S, N, U의 순서대로 한 봉지의 가격과 무게가 띄어쓰기를 사이에 두고 주어진다. 모든 입력값은 1 이상 1,000 이하의 정수이다. 세 종류의 과자의 가성 www.acmicpc.net nums = [] for i in range(3): a, b = map(int, input().split()) if a * 10 >= 5000: a = a * 10 - 500 else: a *= 10 b *= 10 nums.append(b / a) if max(nums) == nums[0]: print('S') elif max(nums) =..
[Baekjoon/Python3] 17388번 와글와글 숭고한 www.acmicpc.net/problem/17388 17388번: 와글와글 숭고한 첫 번째 줄에 숭실대학교의 참여도, 고려대학교의 참여도, 한양대학교의 참여도를 의미하는 세 자연수 S, K, H가 공백으로 구분되어 주어진다. (0 ≤ S, K, H ≤ 100) 세 대학의 참여도는 모두 다르다. www.acmicpc.net s, k, h = map(int, input().split()) if s + k + h >= 100: print('OK') else: if min(s, k, h) == s: print('Soongsil') elif min(s, k, h) == k: print('Korea') else: print('Hanyang')
[Baekjoon/Python3] 17356번 욱 제 www.acmicpc.net/problem/17356 17356번: 욱 제 욱의 욱제력과 제의 욱제력이 한 줄에 주어진다. 욱제력은 0 이상 5,000 이하의 정수이다. www.acmicpc.net a, b = map(int, input().split()) m = (b - a) / 400 print(1 / (1 + pow(10, m)))
[Baekjoon/Python3] 17350번 2루수 이름이 뭐야 www.acmicpc.net/problem/17350 17350번: 2루수 이름이 뭐야 선수들 중 뭐(anj)라는 이름을 가진 사람이 있으면 "뭐야;"를, 없으면 "뭐야?"를 출력한다. www.acmicpc.net players = [input() for i in range(int(input()))] if 'anj' in players: print('뭐야;') else: print('뭐야?')
[Baekjoon/Python3/Text] 17295번 엔드게임 스포일러 www.acmicpc.net/problem/17295 17295번: 엔드게임 스포일러 《어벤져스: 엔드게임》(영어: Avengers: Endgame)은 2019년 개봉한 미국의 슈퍼히어로 영화로, 마블 코믹스의 동명 팀을 원작으로 하고 있으며, 마블 스튜디오가 제작하고, 월트 디즈니 스튜디오 www.acmicpc.net [Python3] print('Avengers: Endgame') [Text] Avengers: Endgame