Well We Know That CIDR Representatiion comes under Classless Addressing and in it , all the IP addresses are contiguous .
Hence The range from 10.12.2.0 to 10.12.3.255 involves , 2^9 IP addresses in total { 10.12.2.0 -> 10.12.2.255 , 10.12.3.0 -> 10.12.3.255 }
Hence , HID contains 9bits , so NID = 32 - HID = 23bits
Hence The CIDR representation would be : 10.12.2.0/23