Fast automated detection of C