Uses System;
Var in, out : text;
line, col : integer;
k : integer;
begin
Assign(in, "nome.in");
Assign(out, "nomer.out");
Reset(in);
Rewrite(out);
Read(in, line, col, k);
if k < col * line theb
begin
Write(out, (k - 1) div col + 1, ' ', (k - 1) mod col + 1);
end
else
Write(out, "слишком большое число")
end;
close(in);
close(out);
end.
Ответ:
У меня получилось вот так.
Объяснение:
Мадана это медведь на юге
К примеру, можно просто заменить некоторые буквы(но это не совсем правильно...).
#include <iostream>
using std::cout;
using std::endl;
int main()
{
char s[] = "Mother plays with the child";
cout << s << endl;
s[0] = 'F';
s[1] = 'a';
cout << s << endl;
return 0;
}