Logo
(追記) (追記ここまで)

32571번 - Leg Day 스페셜 저지다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 1024 MB115896577.381%

문제

You have been given a new training plan for the month, consisting of days focusing on legs or arms interspersed with rest days. This training plan will be repeated for as any times as necessary to get to the end of the month.

Each day of the training plan either contains the word "rest", in which case it is a rest day, or if not may still contain "leg", in which case it is a leg day, or contains neither, meaning that of course it is an arm day.

Produce a motivational 31-day calendar, starting on a Monday, showing what types of exercises you will do on each day.

입력

  • One line containing the number of exercises, $n$ (1ドル \le n \le 31$).
  • $n$ further lines, the $i$th of which contains the name of the $i$th exercise as between 1ドル$ and 50ドル$ lowercase Latin characters.

출력

Output 5 rows of UTF-8 text, each containing:

  • the week number (from 1 to 5)
  • Up to 7 pictographs representing the 31 days of the training plan, using glyphs from
  • the Unicode "Supplementary Multilingual Plane" to illustrate the exercises.

You may use any appropriate character as long as the name is a faithful illustration of the exercise, according to the Unicode 17.0 specification. This will be judged as follows:

  • The character must be printable
  • For leg days, the name of the character must include "leg"
  • For arm days, the name of the character must include "arm" or "biceps"
  • For rest days, the name of the character must include "face"

For good training results, consistency is key: if you use a character to illustrate a type of activity once, you must always use it to represent that type of activity, and no other type of activity.

제한

예제 입력 1

4
legcurls
armgains
restarms
bicepsprints

예제 출력 1

1 🦵💪😎💪🦵💪😎
2 💪🦵💪😎💪🦵💪
3 😎💪🦵💪😎💪🦵
4 💪😎💪🦵💪😎💪
5 🦵💪😎

예제 입력 2

1
workhardplayhardresthard

예제 출력 2

1 😴😴😴😴😴😴😴
2 😴😴😴😴😴😴😴
3 😴😴😴😴😴😴😴
4 😴😴😴😴😴😴😴
5 😴😴😴

예제 입력 3

7
overestimate
wrestling
crestfallen
pharmaceutic
forestry
elegantrestaurant
delegation

예제 출력 3

1 🤖🤖🤖🦾🤖🤖🦿
2 🤖🤖🤖🦾🤖🤖🦿
3 🤖🤖🤖🦾🤖🤖🦿
4 🤖🤖🤖🦾🤖🤖🦿
5 🤖🤖🤖

힌트

출처

ICPC > Regionals > Europe > Northwestern European Regional Contest > The UK & Ireland Programming Contest > UKIEPC 2024 L번

  • 문제를 만든 사람: Robin Lee
(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /