甲说前两位相同,乙说后两位相同,丙说四位的车牌号刚好是一个数的平方,这个车牌号是多少?
using System;namespace ConsoleApplication1
{class Program{static void Main(string[] args){int k, c;for (int i = 1; i < 10; i++)for (int j = 0; j < 10; j++)if (i != j){k = i * 1000 + i * 100 + j * 10 + j;for (c = 31; c < k; c++)if (c * c == k)Console.WriteLine(k);}}}
}