A. [Beginner-07]制作姓名牌

    Type: Default 1000ms 32MiB

[Beginner-07]制作姓名牌

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Background

作为学生会会长,@要帮助老师给高一新同学做学号牌。

Description

新高一一共有 nn 个班级,每个班级都有 mm 个学生,@需要做的是制作格式如下的号码牌:

班级学号班级 - 学号

例如:一班——20号 则应当为 1-20

Format

Input

一行,给出 nnmm

Output

若干行,每行输出一个号码牌,第一关键字为班级,第二关键字为学号。

Samples

2 3
1-1
1-2
1-3
2-1
2-2
2-3

2025/07/18新生课前测

Not Attended
Status
Done
Rule
Ledo
Problem
5
Start at
2025-7-18 7:45
End at
2025-7-18 8:45
Duration
1 hour(s)
Host
Partic.
24