Universal Cup Judging System

Universal Cup

Toplam puan: 100 Zorluk: [göster] Yalnızca Çıktı
İstatistikler

Đây là bài toán chỉ nộp kết quả đầu ra (output-only).

Little Cyan Fish muốn sắp xếp các số nguyên từ $1$ đến $10^4$ vào một ma trận kích thước $100 \times 100$, sử dụng mỗi số nguyên đúng một lần.

Hãy xây dựng một ma trận như vậy sao cho các số nguyên trong mọi cặp ô có chung cạnh đều nguyên tố cùng nhau. Hai số nguyên dương được gọi là nguyên tố cùng nhau nếu ước chung lớn nhất của chúng bằng $1$.

Dữ liệu ra

Bạn không cần nộp bất kỳ mã nguồn lời giải nào cho bài toán này. Thay vào đó, bạn cần nộp một tệp văn bản duy nhất để mô tả ma trận mà bạn đã xây dựng. Tệp này phải gồm $100$ dòng, mỗi dòng chứa $100$ số nguyên mô tả ma trận. Mỗi số nguyên từ $1$ đến $10^4$ phải xuất hiện đúng một lần, và các số nguyên trong mọi cặp ô có chung cạnh phải nguyên tố cùng nhau.

Nếu có nhiều phương án thỏa mãn, hãy in ra một phương án bất kỳ.

Ví dụ

Dữ liệu vào 1

```

#### Dữ liệu ra 1

1 3 2 5 8 9 6 7 4 ```

Ghi chú

Kết quả mẫu chỉ nhằm mục đích minh họa định dạng dữ liệu ra. Nó thể hiện một phương án hợp lệ cho ma trận kích thước $3 \times 3$, sử dụng mỗi số nguyên từ $1$ đến $9$ đúng một lần. Dữ liệu ra của bạn bắt buộc phải mô tả một ma trận kích thước $100 \times 100$.


veya dosyaları tek tek yükleyin:

Editorials

IDTypeStatusTitlePosted ByLast UpdatedActions
#3021EditorialOpenNew Editorial for Problem #22895Euphoria_View

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.