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

공부679

백준: 15000번 CAPS (Python3) 백준: 15000번 CAPS (Python3) CAPS 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 2 초 512 MB 1500 1117 957 76.683% 문제 지구가 공격받고 있다! 상황이 심각하다는 것을 분명히 하는 메시지를 지구방위군(EDF)에 보내야 합니다. EDF의 가장 강력한 부대는 일본 십대들이 조종하는 메크(거대 이족보행 로봇)로 구성됩니다. 메시지가 긴급하게 표시되도록 하려면 조종사의 모니터에 대문자로 표시되어야 합니다. 불행히도 EDF에서 사용하는 타키온 통신 시스템은 소문자 알파벳 문자로만 문자열을 보낼 수 있습니다. 소문자 알파벳 문자 집합은 'a', 'b', 'c', 'd', 'e', ​​'f', 'g', 'h', 'i' 문자로 구성됩니다. ', 'j', 'k', .. 2022. 8. 6.
백준: 15025번 Judging Moose (Python3) 백준: 15025번 Judging Moose (Python3) Judging Moose 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 1 초 512 MB 1363 838 780 62.251% 문제 When determining the age of a bull moose, the number of tines (sharp points), extending from the main antlers, can be used. An older bull moose tends to have more tines than a younger moose. However, just counting the number of tines can be misleading, as a moose can break off the .. 2022. 8. 6.
백준: 15051번 Máquina de café (Python3) 백준: 15051번 Máquina de café (Python3) Máquina de café 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 1 초 1024 MB 996 657 604 65.510% 문제 O novo prédio da Sociedade Brasileira de Computação (SBC) possui 3 andares. Em determinadas épocas do ano, os funcionários da SBC bebem muito café. Por conta disso, a presidência da SBC decidiu presentear os funcionários com uma nova máquina de expresso. Esta máquina deve ser i.. 2022. 8. 6.
백준: 15059번 Hard choice (Python3) 백준: 15059번 Hard choice (Python3) Hard choice 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 1 초 1024 MB 1306 1139 1082 87.540% 문제 In long flights, airlines offer hot meals. Usually the flight attendants push carts containing the meals down along the aisles of the plane. When a cart reaches your row, you are asked right away: “Chicken, beef, or pasta?” You know your choices, but you have only a few seconds to c.. 2022. 8. 6.
백준: 15080번 Every Second Counts (Python3) 백준: 15080번 Every Second Counts (Python3) Every Second Counts 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 2 초 512 MB 1371 781 717 58.964% 문제 Meredith runs a taxi service called Ruber which offers rides to clients in small towns in western Pennsylvania. She wants to get every possible dime out of people who use her taxis, so her drivers charge a flat fee not per minute but per second. It’s important, therefor.. 2022. 8. 6.
백준: 15128번 Congruent Numbers (Python3) 백준: 15128번 Congruent Numbers (Python3) Congruent Numbers 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 2 초 512 MB 1650 656 598 40.515% 문제 A congruent number is an integer that is the area of some right triangle where the length of each side of the triangle is a rational number. For this problem, we’ll only consider the legs of the right triangle, and not the hypotenuse. A rational number is a fraction, p/q, w.. 2022. 8. 6.
백준: 15439번 Vera and Outfits (Python3) 백준: 15439번 Vera and Outfits (Python3) Vera and Outfits 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 2 초 256 MB 3847 3426 3286 89.245% 문제 Vera owns N tops and N pants. The i-th top and i-th pants have colour i, for 1 ≤ i ≤ N, where all N colours are different from each other. An outfit consists of one top and one pants. Vera likes outfits where the top and pants are not the same colour. How many different out.. 2022. 8. 6.
백준: 15474번 鉛筆 (Pencils) (Python3) 백준: 15474번 鉛筆 (Pencils) (Python3) 鉛筆 (Pencils) 성공다국어 시간 제한메모리 제한제출정답맞힌 사람정답 비율 2 초 512 MB 1252 846 786 67.179% 문제 JOI 君は鉛筆を N 本買うために近くの文房具店に行くことにした. 文房具店では鉛筆が一定の本数ずつのセットで売られている.セット X は A 本で B 円,セット Y は C 本で D 円である. JOI 君はセット X かセット Y の一方を選び,選んだセットをいくつか購入する.両方のセットを購入することはできない.N 本以上の鉛筆を得るために必要な金額の最小値を求めよ. 입력 入力は以下の形式で標準入力から与えられる. N A B C D 출력 JOI 君が N 本以上の鉛筆を手に入れるのに必要な金額の最小値を出力せよ. 제한 1 ≦ N ≦ 1000 .. 2022. 8. 6.
백준: 15552번 빠른 A+B (Python3) 백준: 15552번 빠른 A+B (Python3) 빠른 A+B 성공 시간 제한메모리 제한제출정답맞힌 사람정답 비율 1 초 (하단 참고) 512 MB 200445 90146 74107 45.700% 문제 본격적으로 for문 문제를 풀기 전에 주의해야 할 점이 있다. 입출력 방식이 느리면 여러 줄을 입력받거나 출력할 때 시간초과가 날 수 있다는 점이다. C++을 사용하고 있고 cin/cout을 사용하고자 한다면, cin.tie(NULL)과 sync_with_stdio(false)를 둘 다 적용해 주고, endl 대신 개행문자(\n)를 쓰자. 단, 이렇게 하면 더 이상 scanf/printf/puts/getchar/putchar 등 C의 입출력 방식을 사용하면 안 된다. Java를 사용하고 있다면, Scann.. 2022. 8. 6.

반응형