View CodableDecimalSpec.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Quick | |
import Nimble | |
class CodableDecimalSpec: QuickSpec { | |
override func spec() { | |
context("encode Model to JSON") { | |
var model: Model! | |
var json: [String: String]? | |
beforeEach { |
View 1.dpr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program First; | |
{$APPTYPE CONSOLE} | |
// Дан одномерный массив Хк. | |
// Найти последний среди элементов с четными значениями. | |
// Все отрицательные элементы массива удалить. | |
// В конец массива дописать среднее арифметическое положительных элементов. | |
(* |
View 1.dpr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
program First; | |
{$APPTYPE CONSOLE} | |
// Дан одномерный массив Yn. | |
// Найти минимальный среди положительных элементов | |
// с четными номерами. | |
// Удалить каждый третий элемент. | |
(* |
View 1.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class First | |
{ | |
// Дан одномерный массив Хк. | |
// Найти последний среди элементов с четными значениями. | |
// Все отрицательные элементы массива удалить. | |
// В конец массива дописать среднее арифметическое положительных элементов. | |
/* | |
* |
View 1.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class First | |
{ | |
// Дан одномерный массив Yn. | |
// Найти минимальный среди положительных элементов | |
// с четными номерами. | |
// Удалить каждый третий элемент. | |
/* | |
* Тестовые входные данные: |
View 1.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class First { | |
// Дан одномерный массив Хк. | |
// Найти последний среди элементов с четными значениями. | |
// Все отрицательные элементы массива удалить. | |
// В конец массива дописать среднее арифметическое положительных элементов. | |
/* | |
* Тестовые входные данные: | |
* |
View 1.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class First { | |
// Дан одномерный массив Yn. | |
// Найти минимальный среди положительных элементов | |
// с четными номерами. | |
// Удалить каждый третий элемент. | |
/* | |
* Тестовые входные данные: | |
* |