Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d19f76e

Browse files
committed
fixes
1 parent b8402fa commit d19f76e

File tree

9 files changed

+16
-17
lines changed

9 files changed

+16
-17
lines changed

go/sprint1_nonfinals/d.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ import (
88
"strings"
99
)
1010

11-
func getChaosNumber(temperatures []int) int {
11+
func getWeatherRandomness(temperatures []int) int {
1212
// Ваше решение
1313
}
1414

1515
func main() {
1616
scanner := makeScanner()
1717
readInt(scanner)
1818
temperatures := readArray(scanner)
19-
fmt.Println(getChaosNumber(temperatures))
19+
fmt.Println(getWeatherRandomness(temperatures))
2020
}
2121

2222
func makeScanner() *bufio.Scanner {

go/sprint1_nonfinals/i.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ import (
77
"strconv"
88
)
99

10-
func isDegreeOfFour(number int) bool {
10+
func isPowerOfFour(number int) bool {
1111
// Ваше решение
1212
}
1313

1414
func main() {
1515
scanner := makeScanner()
1616
number := readInt(scanner)
17-
if isDegreeOfFour(number) {
17+
if isPowerOfFour(number) {
1818
fmt.Println("True")
1919
} else {
2020
fmt.Println("False")

java/sprint1_nonfinals/C.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
public class C {
1111

12-
private static List<Integer> getNeighbours(List<List<Integer>> matrix, int rowId, int colId) {
12+
private static List<Integer> getNeighbours(List<List<Integer>> matrix, int row, int col) {
1313
// Ваше решение
1414
}
1515

java/sprint1_nonfinals/D.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99

1010
public class D {
1111

12-
private static int getChaosNumber(List<Integer> temperatures) {
12+
private static int getWeatherRandomness(List<Integer> temperatures) {
1313
// Ваше решение
1414
}
1515

1616
public static void main(String[] args) throws IOException {
1717
try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
1818
int numberOfDays = readInt(reader);
1919
List<Integer> temperatures = readList(reader);
20-
int chaosNumber = getChaosNumber(temperatures);
20+
int chaosNumber = getWeatherRandomness(temperatures);
2121
System.out.println(chaosNumber);
2222
}
2323
}

java/sprint1_nonfinals/I.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55

66
public class I {
77

8-
private static boolean isDegreeOfFour(int n) {
8+
private static boolean isPowerOfFour(int n) {
99
// Ваше решение
1010
}
1111

1212
public static void main(String[] args) throws IOException {
1313
try (BufferedReader reader = new BufferedReader(new InputStreamReader(System.in))) {
1414
int n = readInt(reader);
15-
if (isDegreeOfFour(n)) {
15+
if (isPowerOfFour(n)) {
1616
System.out.println("True");
1717
} else {
1818
System.out.println("False");

js/sprint0/a.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ function readNumber() {
2222
return Number(_inputLines[_curLine++]);
2323
}
2424

25-
function evaluateFunction(a, b, c, x) {
25+
function getSum(a, b) {
2626
// Ваше решение
27-
return a * x * x + b * x + c;
2827
}
2928

3029
function solve() {

js/sprint1_nonfinals/c.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ _reader.on('line', line => {
1313

1414
process.stdin.on('end', solve);
1515

16-
function getNeighbours(matrix, rowCount, colCount, rowId, colId) {
16+
function getNeighbours(matrix, row, col) {
1717
// Ваше решение
1818
}
1919

@@ -24,7 +24,7 @@ function solve() {
2424
const rowId = readInt();
2525
const colId = readInt();
2626

27-
process.stdout.write(`${getNeighbours(matrix, rows, cols, rowId, colId).join(' ')}`);
27+
process.stdout.write(`${getNeighbours(matrix, rowId, colId).join(' ')}`);
2828
}
2929

3030
function readInt() {

js/sprint1_nonfinals/d.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ _reader.on('line', line => {
1313

1414
process.stdin.on('end', solve);
1515

16-
function chaosNumber(temperatures) {
16+
function getWeatherRandomness(temperatures) {
1717
// Ваше решение
1818
}
1919

2020
function solve() {
2121
const n = readInt();
2222
const temperatures = readArray();
23-
process.stdout.write(`${chaosNumber(temperatures)}`);
23+
process.stdout.write(`${getWeatherRandomness(temperatures)}`);
2424
}
2525

2626
function readInt() {

js/sprint1_nonfinals/i.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ _reader.on('line', line => {
1313

1414
process.stdin.on('end', solve);
1515

16-
function isDegreeOfFour(number) {
16+
function isPowerOfFour(number) {
1717
// Ваше решение
1818
}
1919

2020
function solve() {
2121
const number = readInt();
22-
if (isDegreeOfFour(number)) {
22+
if (isPowerOfFour(number)) {
2323
console.log("True");
2424
} else {
2525
console.log("False");

0 commit comments

Comments
 (0)