0_0_36509570_29643.cpp:1:4: error: 'endTime' does not name a type endTime = clock(); ^ 0_0_36509570_29643.cpp:2:2: error: 'cout' does not name a type cout << "run time:" << (double)(endTime - startTime) / CLOCKS_PER_SEC << "s" << endl; ^