Skip to content
This repository was archived by the owner on Sep 6, 2018. It is now read-only.
Closed
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
787f0fe
Hiraev Malik 13531/2
Hiraev Sep 9, 2016
ec2a361
Hiraev Malik 13531/2
Hiraev Sep 10, 2016
9e46b2b
Исправил задание с радианами.
Hiraev Sep 13, 2016
d9c9193
Исправил Lesson2 ifElse
Hiraev Sep 13, 2016
e44059b
Исправил Lesson2 ifElse
Hiraev Sep 13, 2016
fd4e100
Исправил Lesson2 ifElse
Hiraev Sep 13, 2016
cf1ef80
Исправил Lesson2 ifElse
Hiraev Sep 13, 2016
cd8337f
Исправил Lesson2 ifElse
Hiraev Sep 13, 2016
3f6bc5f
Исправил Lesson2 ifElse
Hiraev Sep 13, 2016
d967c92
Исправил Lesson2 ifElse
Hiraev Sep 13, 2016
5689fd1
Исправил наконец Lesson2 ifElse
Hiraev Sep 13, 2016
0b7066e
Исправил наконец Lesson2 ifElse
Hiraev Sep 13, 2016
0cbd68c
lesson2 Logical
Hiraev Sep 13, 2016
4863cc6
lesson2 Logical
Hiraev Sep 13, 2016
36e43d6
lesson2 Logical
Hiraev Sep 13, 2016
bcbd8f0
Исправил задание с двумя ферзями
Hiraev Sep 13, 2016
cb31ab7
Исправил задание с пересекающимися отрезками
Hiraev Sep 13, 2016
8270f0a
Не понял задания с sin(x) и cos(x)
Hiraev Sep 19, 2016
920d0ba
Не понял задания с sin(x) и cos(x)
Hiraev Sep 19, 2016
a61adb0
Исправил 1 и 2 урок. Доделал 3 урок
Hiraev Sep 21, 2016
c66dac3
Учел все замечание. Доделал 3 урок
Hiraev Sep 21, 2016
7041e84
Не пойму как увеличить точность функций "sin" и "cos"
Hiraev Sep 21, 2016
bd31891
Исправил функцию squareBetweenExists. Не пойму как увеличить точность…
Hiraev Sep 21, 2016
136e021
Исправил функцию squareBetweenExists. Не пойму как увеличить точность…
Hiraev Sep 27, 2016
743047b
!
Hiraev Sep 27, 2016
87f161a
!
Hiraev Sep 27, 2016
0016f8c
!
Hiraev Sep 27, 2016
8826519
Переделал функцию squareBetweenExists
Hiraev Sep 28, 2016
6de08f1
Переделал функцию squareBetweenExists
Hiraev Sep 28, 2016
be89a68
Переделал функцию squareBetweenExists
Hiraev Sep 28, 2016
74f6c45
Все, кроме последних 2-ух
Hiraev Oct 21, 2016
818440c
Все, кроме последних 2-ух
Hiraev Oct 21, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Переделал функцию squareBetweenExists
  • Loading branch information
Hiraev committed Sep 28, 2016
commit be89a68eba027865e6f673933a6dbc3f4f855215
2 changes: 1 addition & 1 deletion src/lesson3/task1/Loop.kt
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ fun squareBetweenExists(m: Int, n: Int): Boolean {
val difference = newN.toInt() - newM.toInt()
if (m == n) {
val roundM = round(newM).toInt()
if (roundM*roundM==m) return true
if (roundM * roundM == m) return true
} else if (difference >= 1) return true
return false
}
Expand Down