Var a,b,c,x,y,s: integer; begin readln (a,b,c); x:=c; y:=c; s:=0; while x<=a do begin s:=s+1; x:=x+c end; x:=s; s:=0; while y<=b do begin s:=s+x; y:=y+c end; writeln (s)end.______________________
Примеры:
5 6 26
2 3 40
1)тест1.doc
Тест.doc
2)с:\games\happy\pacman.exe
3)c:\pictures\foto\весна.jpg
4)столбец, абзац, строка
5)редактирования
<span>mas = [int(i) for i in input('Введите массив : ').split()]
mas.sort()
print(mas)
for i in mas:
if mas.count(i) == 1:
print(i,' ')</span>