F G F+G
0 0 0
0 0 0 Cемь одинаковых строк: в шести все нули, в одной - 1.
0 0 0
0 0 0
0 0 0
0 0 0
1 1 1
----------------
1 0 1 во всех остальных при различных значениях F и G
0 1 1 F+G =1 (F+G=0 при F=G=0)
...............
ответ: 6
Using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace pzn
{
class Program
{
public static void Main(string[] args)
{
int x = Convert.ToInt32(Console.ReadLine());
int y = Convert.ToInt32(Console.ReadLine());
int temp;
if (x<y)
{
x ^= y;
y ^= x;
x ^= y;
}
Console.WriteLine("x={0}, y={1}", x, y);
Console.ReadKey();
}
}
}
1) 10 div 15 = 0
2) 10 div 2 = 5
3) 10 mod 2 = 0
4) 10 mod 17 = 10
5) 123 mod 10 = 3
6)123 div 10 = 12
7)1 div 2 = 0
8) 123 mod 1000 = 123
9) 100 mod 27 div 3 = 6
10) 100 div 5 mod 3 = 2
11)98725 div 1000 mod 10 = 8
<span>12)100 mod 5 div 3 = 0</span>