반응형
반응형
본문 바로가기

Baekjoon146

백준: 17388번 와글와글 숭고한 (Python3) 백준: 17388번 와글와글 숭고한 (Python3) 와글와글 숭고한 성공 시간 제한메모리 제한제출정답맞힌 사람정답 비율 1 초 512 MB 4822 3329 3066 70.531% 문제 숭고한 알고리즘 캠프가 다가오고 있고 방학이 되어서까지도 각 대학들의 협업은 계속되고 있다. 그럼에도 불구하고 운영진들과 강사진들이 각자의 일정 때문에 바빠 계획에 차질이 조금씩 생기고 있다. 숭고한 알고리즘 캠프의 대표인 창호는 효율적인 일처리를 위해 엄정한 평가를 내리기로 하였다. 창호는 숭고한 알고리즘 캠프의 구성원인 숭실대학교(Soongsil University), 고려대학교(Korea University), 한양대학교(Hanyang University)의 참여도를 수치화하였다. 창호가 보기에 세 대학교의 참여도.. 2022. 8. 10.
백준: 17863번 FYI (Python3) 백준: 17863번 FYI (Python3) FYI 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 1 초 512 MB 1628 1308 1225 80.275% 문제 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 information and assistance as in the following example.. 2022. 8. 10.
백준: 17874번 Piece of Cake! (Python3) 백준: 17874번 Piece of Cake! (Python3) Piece of Cake! 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 1 초 512 MB 832 731 699 88.593% 문제 It is Greg’s birthday! To celebrate, his friend Sam invites Greg and two other friends for a small party. Of course, every birthday party must have cake. Sam ordered a square cake. She makes a single horizontal cut and a single vertical cut. In her excitement to eat cake, Sam forg.. 2022. 8. 7.
백준: 17903번 Counting Clauses (Python3) 백준: 17903번 Counting Clauses (Python3) Counting Clauses 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 1 초 512 MB 745 528 468 72.222% 문제 It’s time for the annual 3-SAT competition, where the contestants compete to answer as many instances of 3-SAT as possible within the time limit. 3-SAT is a classic NP-complete problem, where you are given a boolean formula in conjunctive normal form, in which we have a set of.. 2022. 8. 7.
백준: 18198번 Basketball One-on-One (Python3) 백준: 18198번 Basketball One-on-One (Python3) Basketball One-on-One 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 1 초 (추가 시간 없음) 512 MB 362 217 184 57.862% 문제 Alice and Barbara played some friendly games of one-on-one basketball after work, and you agreed to help them keep score. The rules of the game were simple: Each successful shot by a player earns them either one or two points; The first player to eleven po.. 2022. 8. 7.
백준: 18330번 Petrol (Python3) 백준: 18330번 Petrol (Python3) Petrol 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 2 초 512 MB 905 642 596 72.155% 문제 The government of Neverland has recently announced a new petrol rationing plan with an unexpected price hike. According to the new plan, each person receives a quota of 60 liters per month in a fuel card. Each liter of petrol costs 1500 Oshloobs if it is within quota. Any extra fueling costs 3000.. 2022. 8. 7.
백준: 18408번 3 つの整数 (Three Integers) (Python3) 백준: 18408번 3 つの整数 (Three Integers) (Python3) 3 つの整数 (Three Integers) 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 2 초 512 MB 1181 975 884 83.239% 문제 3 つの整数 A, B, C が与えられる.A, B, C はそれぞれ 1 または 2 である.1 と 2 のうち,どちらが多くあるか. 입력 入力は以下の形式で標準入力から与えられる. A B C 출력 1 と 2 のうち,個数が多い方を出力せよ. 제한 A, B, C はそれぞれ 1 または 2 である. 예제 입력 1 1 2 1 예제 출력 1 1 1 が 2 個で 2 が 1 個なので,個数の多い 1 を出力する. 예제 입력 2 2 2 2 예제 출력 2 2 すべて 2 なので,2 を出力する. 답안 1.. 2022. 8. 7.
백준: 18409번 母音を数える (Counting Vowels) (Python3) 백준: 18409번 母音を数える (Counting Vowels) (Python3) 母音を数える (Counting Vowels) 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 2 초 512 MB 494 403 365 84.101% 문제 長さ N の英小文字からなる文字列 S が与えられる.S のうち母音字の個数,つまり a,i,u,e,o の個数の総和を求めよ. 입력 入力は以下の形式で標準入力から与えられる. N S 출력 S のうち母音字の個数,つまり a,i,u,e,o の個数の総和を出力せよ. 제한 1 ≦ N ≦ 50. S は長さ N の文字列である. S の各文字は英小文字である. 예제 입력 1 8 joiyosen 예제 출력 1 4 母音字は _oi_o_e_ の 4 個である. 예제 입력 2 6 bitaro 예제 출력 2.. 2022. 8. 7.
백준: 18411번 試験 (Exam) (Python3) 백준: 18411번 試験 (Exam) (Python3) 試験 (Exam) 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 2 초 512 MB 1078 898 830 84.350% 문제 JOI 君は情報の試験を 3 回受けた.試験の点数はすべて 0 以上 100 以下の整数である. JOI 君の成績は 3 回の試験の点数のうち高い方から 2 つを足し合わせた合計によって決まる. 3 回の試験の点数 A, B, C が与えられたとき,3 回の試験の点数のうち高い方から 2 つを足し合わせた合計を出力するプログラムを作成せよ. 입력 入力は以下の形式で標準入力から与えられる. A B C 출력 3 回の試験の点数のうち高い方から 2 つを足し合わせた合計を 1 行で出力せよ. 제한 0 ≦ A ≦ 100. 0 ≦ B ≦ 100. 0 ≦ C ≦ 100. .. 2022. 8. 7.

반응형