Rock Scissor Paper

Problem Two people, A and B, play a rock-paper-scissors game. A total of N games are played, and if A wins, output A, and if B wins, output B. In case of a tie, D is output. Scissors, rock, and paper information will be set to 1: Scissors, 2: Rock, and 3: Paper. For example, if N=5 Round 1 2 3 4…

Read More

Visible Students

Problem The teacher lined up N (1<=N<=1000) students. Write a program to find the number of students that the teacher standing in front can see when the heights of the students standing in a line are given in order from the front. (If it is larger than the people standing in front, it is visible, if…

Read More

Larger Number

Problem Write a program that takes N (1<=N<=100) integers as input and outputs only the number that is greater than the number immediately preceding itself. (The first number is unconditionally printed.) input A natural number N is given in the first line, and N integers are entered in the next line…

Read More

Remove Duplicates Words

Problem Write a program that removes duplicated strings when N strings are input and outputs them. The output string maintains the original input order. input A natural number N is given in the first line (3<=N<=30). Starting from the second line, N strings are given. The length of the string does…

Read More

Taste a Little Bit of Tailwind-css for Beginner

Introduction Recently, there is buzzing alert all-around about Tailwind-css. Why? Let’s skim it a little bit here. Installation First, set up the basic environment CMD Edit the script line in package.json package.json Generate folder from the root folder. Then, Create the file inside and fill the…

Read More
Page 13 Of 26