Дата активности | Консольный раздел | Прогресс | ||
---|---|---|---|---|
2020-09-21 | book | 110. Функции | 13 % | |
2020-02-28 | book | 101. Математика | 115 % | |
2020-02-03 | solo | C# набор | 12 % | |
2020-02-03 | solo | YESOLO on the Keyboard | % | |
2020-02-03 | task2 | Алгоритмика | 5 % | |
2019-12-22 | book | 100. Массивы | 100 % | |
2019-12-12 | book | 011. Циклы | 100 % | |
2019-12-08 | book | 010. Условия | 100 % | |
2019-12-06 | book | 001. Числа | 100 % | |
2019-11-24 | book | 000. Строки | 100 % | |
Итого: | 58 % |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
class VideoSharp
{
static void Main()
{
int s = int.Parse(Console.ReadLine());
string[] g = Console.ReadLine().Split(' ');
List<int> nums = new List<int>();
foreach(var g1 in g){
nums.Add(int.Parse(g1));
}
Console.WriteLine(nums.Min() + " " + nums.Max());
}
}
//www.VideoSharp.info/Консоль/001. Числа/Логика
using System;
class VideoSharp
{
static void Main()
{
string s = Console.ReadLine();
string[] d = s.Split(new char[] { ' ' });
int i = Convert.ToInt32(d[0]);
int i1 = Convert.ToInt32(d[1]);
Console.WriteLine(i & i1);
Console.WriteLine(i | i1);
Console.WriteLine(i ^ i1);
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Миллион_задач
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Введите фразу");
string s = Console.ReadLine();
Console.WriteLine(s);
Console.WriteLine(s);
Console.ReadKey();
}
}
}