This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApp1 | |
{ | |
class Program | |
{ |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApp1 | |
{ | |
class Program | |
{ |
This file contains hidden or 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
namespace ConsoleApp1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int[] a = new int[12] { 7, -1, -2, 5, 3, -3 , 7, -1, -2, 5, 3, -3 }; | |
int n = 12; | |
Console.WriteLine("Элементы массива: "); |
This file contains hidden or 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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ConsoleApp1 | |
{ | |
class Program | |
{ |
This file contains hidden or 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
После просмотра Л [0.4814814814814814814814814814814814814814; 0.5555555555555555555555555555555555555555) | |
После просмотра О [0.5281207133058984910836762688614540466392; 0.5336076817558299039780521262002743484224) | |
После просмотра М [0.5327947975410252502159223695574861555657; 0.5329980185947264136564548087181832037799) | |
После просмотра О [0.5329227515378000568266279793994065192561; 0.5329378049491853281925933452631618561608) | |
После просмотра В [0.5329333446791452477878628664887158304113; 0.5329339022129002578384541763355215836300) | |
После просмотра С [0.5329334479261369163157501460899761550814; 0.5329335305237302511380599697709844148175) | |
После просмотра К [0.5329334815770082749470615557377943349739; 0.5329334876953485219709363574919430949544) | |
После просмотра И [0.5329334836164550239550198229891772549674; 0.5329334840696654126234549934894845705215) | |
После просмотра Й [0.5329334839857375628700410730264646972707; 0.5329334840025231328207238571190686719209) | |
После просмотра А [0.5329334839857375628700410730264646972707 |
This file contains hidden or 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
После просмотра Л [0.4444444444444444444444444444444444444444; 0.5185185185185185185185185185185185185185) | |
После просмотра О [0.4883401920438957475994513031550068587105; 0.4938271604938271604938271604938271604938) | |
После просмотра М [0.4930142762790225067316974038510389676370; 0.4932174973327236701722298430117360158512) | |
После просмотра О [0.4931347035701046776594203307610816628750; 0.4931497569814899490253856966248369997798) | |
После просмотра В [0.4931447391776948585700639080035852208115; 0.4931452967114498686206552178503909740302) | |
После просмотра С [0.4931448424246865270979511876048455454817; 0.4931449043728815282146835553656017402837) | |
После просмотра К [0.4931448653684624534374816941829033954084; 0.4931448699572176387053877954985149653937) | |
После просмотра И [0.4931448667280936194427872056838253420707; 0.4931448670680014109441135835590558287363) | |
После просмотра Й [0.4931448670050555236290531432117909237982; 0.4931448670176447010920652312812439047858) | |
После просмотра А [0.4931448670050555236290531432117909237982 |
This file contains hidden or 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
var N, R, i, max: Longint; | |
a, m2, m13, m: Integer; | |
Begin | |
m2 := 0; | |
m13 := 0; | |
m := 0; | |
max := 0; | |
readln(N); |
This file contains hidden or 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
def F(x): | |
return 2*(x - 5)*(x-5)+55 | |
a = -10, b = 27 | |
M = a, R = F(a) | |
for t in range(a, b + 1): | |
if(F(t) > R): | |
M = t | |
R = F(t) | |
print(M) |
This file contains hidden or 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
# Допускается также | |
# Использование двух | |
# Целочисленных переменных | |
# min и s | |
N = 20 | |
a = [[0] * N for i in range(N)] | |
for i in range(N): | |
for j in range(N): | |
a[i][j] = int(input()) |
This file contains hidden or 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
var R, rR: Longint; | |
var N, k, min7, min2, min14, minN, i: Integer; | |
Begin | |
R := 1000001; | |
min14 := 1001; | |
min7 := 1001; | |
min2 := 1001; | |
minN := 1001; | |