- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
using System;
using System.Globalization;
using System.Linq;
class Program
{
static void Main(string[] args)
{
Console.WriteLine((args =
new[]
{
"0003000300050b5721c10001000100010003001d007f008b039700010001000100020002000200030003005300e30191000200030005004700c1102100010001",
null,
"{0}{1}"
})[2],
args[1] = string.Concat(
Enumerable.Range(0, 4)
.Select(
i =>
new string(
Enumerable.Range(0, 4)
.Select(
k =>
(char)
(((Enumerable.Range(0, 8)
.Select(
j =>
int.Parse(args[0].Substring(i * 32 + j * 4, 4),
NumberStyles.HexNumber))
.Aggregate(1, (x, y) => x * y) - 18) >> (3 - k) * 8) & 0xff))
.ToArray()))),
args[1].Remove(10) +
string.Concat(
Enumerable.Repeat(args[1].Skip(10).Take(3).Aggregate(0, (x, y) => (x << 8) + y) ^ (97 << 12), 3)
.Select((x, i) => (char) ((x >> (2 - i) * 8) & 0xff))));
}
}
guest0 07.02.2017 20:21 # +1
cykablyad 07.02.2017 20:27 # 0
guest0 07.02.2017 20:29 # 0
guest 07.02.2017 20:37 # 0
guest0 07.02.2017 20:38 # −2
CHayT 07.02.2017 20:38 # 0
guest0 07.02.2017 20:44 # −1
guest 07.02.2017 20:57 # +1
inkanus-gray 07.02.2017 21:21 # +1
cykablyad 07.02.2017 20:41 # +2
inkanus-gray 07.02.2017 21:25 # +4
cykablyad 07.02.2017 21:57 # +4
Vindicar 08.02.2017 22:42 # +1