목록분류 전체보기 (228)
main
std::endl 사용하면 시간 초과 -> 'n' 사용한다. 소수 판정할 때 제곱근까지만 돌린다. #include #include using namespace std; void isPrime(int num) { int a = (int)sqrt(num); for (int j = 2; j > N; for (int i = M; i
#include #include > i; for (int j = 0; j > A; if (A > 0) v.push_back(A); } for (int i = 0; i < v.size(); i++) { if (v[i] == 1) continue; for (int j = 2; j j) { break; } if (v[i] == j) { count += 1; break; } } } cout
에러메세지 fatal: unable to access 'https://mygit.example.com/path/test.git/': error setting certificate verify locations CAfile: C:/path/Git/mingw64/ssl/certs/ca-bundle.crt 해결방법 -> 해당 경로에 가서 crt 파일이 있는지 확인 후, 경로 복사해서 git config에 추가함. git config --global http.sslCAInfo d:/devel/my-ca-bundle.crt [참고 자료] https://www.lesstif.com/gitbook/git-https-repository-ssl-14090808.html https://dryadsoft.tistory.co..