Skip to content

Считалочка - #13

Open
EStarikov wants to merge 4 commits into
mainfrom
iosif_flaviy
Open

Считалочка#13
EStarikov wants to merge 4 commits into
mainfrom
iosif_flaviy

Conversation

@EStarikov

Copy link
Copy Markdown
Owner

No description provided.

@EStarikov
EStarikov requested a review from chernishev October 28, 2025 20:13
Comment thread src/iosif.c Outdated
Comment on lines +46 to +47
for (n = 1; n <= 10; ++n) {
for (m = 1; m <= 10; ++m) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

n и m нужно принимать на вход, а не задавать в коде.

И, если уж вычисляете k для нескольких n и m сразу, надо печатать, например, "Ответ для n = 1 и m = 2: 2". Иначе совсем непонятно, что тут происходит.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants