cpp #C++ #타임워치 #시간값 계산
c++ 지나간 시간 알아내기
c++ 지나간 시간 알아내기
2020.10.27#include #include using namespace std; int main() { time_t start = time(NULL); time_t finish = time(NULL); int pass_int = 1; time(&start); for (int i = 1; i < 100000; i++) { for (int j = 1; j < 100000; j++) pass_int += 1; } time(&finish); cout