3346 - I2P(I)2026_Hu_Hw1 Scoreboard

Time

2026/09/08 20:30:00 2026/09/15 18:30:00

Clarification

# Problem Asker Description Reply Replier Reply Time For all team

# Problem Pass Rate (passed user / total user)
14989 RedCapeFlyingCat's Nested Rectangles
14988 RedCapeFlyingCat and Niu Lai

14989 - RedCapeFlyingCat's Nested Rectangles   

Description

RedCapeFlyingCat found two rectangles, one of which completely contains the other, and wants to know which one contains which.

Two axis-aligned rectangles and are given. It is guaranteed that one of them contains the other (a rectangle's own boundary counts as part of it). Determine whether contains , or contains .

Note

The image below is the sample test case.

Subtasks

Testcase Constraints
1-5 and do not share any boundary.
6-10 No additional constraint.

Input

Eight lines, each with one integer. For a rectangle , its top-left corner is and its bottom-right corner is ( increases rightward, increases downward).

  • Line 1:
  • Line 2:
  • Line 3:
  • Line 4:
  • Line 5:
  • Line 6:
  • Line 7:
  • Line 8:

Constraint:

  • and (likewise for ): rectangles are never degenerate
  • Either contains , or contains

Output

One line containing A or B: the rectangle that contains the other.

If and are identical, output A.

Sample Input  Download

Sample Output  Download




Discuss




14988 - RedCapeFlyingCat and Niu Lai   

Description

RedCapeFlyingCat wants you to draw the head of Niu Lai.

Print the ASCII art of a cow, exactly as shown below.

Input

This problem has no input.

Output

One block of exactly 3 lines, each 7 characters wide, in the exact format shown below:

 (\_/) 
('o"o')
 \___/ 

Note: lines 1 and 3 each end with a trailing space.

Sample Input  Download

Sample Output  Download




Discuss