분류 전체보기149 [쿠키런킹덤] 쿠폰자동등록 프로그램 (다시 키울때 좋음) 쿠키런 킹덤을 키우다가 뽑기운이 구져서 다시 만들때가 있습니다. 그때마다 쿠폰 12개를 새로 입력해야하는데.. 여간 귀찮은일이 아닐 수 없습니다. 그래서 파이썬으로 자동으로 등록해주는 프로그램을 만들었습니다 (지금은 30개입니다) 실행 동영상을 첨부했습니다. https://blog.naver.com/rbals0445/222243108610 [쿠키런킹덤] 쿠폰자동등록 프로그램 (다시 키울때 좋음) (05/07/21 Latest version) ==== 실행 방법 (동영상) 핵이라는 분들이 많아서.. ====... blog.naver.com === 05/07 최신으로 수정======= https://drive.google.com/file/d/10Qa1IJXo3Pw8HkELCh8dVlF7HvwetVZM/vie.. 2021. 2. 14. [BOJ] 2839. 설탕배달 #include #include #include #define MAX 10000001 typedef long long ll; using namespace std; int main(void) { int num; int sum = 0; int cnt; scanf("%d",&num); cnt = num / 5; if(num % 5 != 0) { for(int i = cnt; i >= cnt; i--)//500원을 많이 쓸 수록 좋음 { if( (num-5*i) % 3 == 0) { sum += i + (num- 5*i) / 3; break; } } }else{ printf("%d\n",num/5); return 0; } /* if(sum) printf("%d\n",sum); else printf("-1\n").. 2021. 2. 10. [SWEA] 10761. 신뢰(로봇 버튼누르기) https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AXSVc1TqEAYDFAQT SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com #include #include #include #include #include #include typedef long long ll; using namespace std; //가장 바깥에 꽂힌경우 0점인것만 처리. int main(void) { int tc,num; char alpha; int bt; int b; int o; int global; int og,bg; scanf("%d",&tc); .. 2021. 2. 9. [SWEA] 10965. 제곱수 만들기 (에라토스테네스의 체) 빠른속도 https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=3&contestProbId=AXWXH_h695kDFAST&categoryId=AXWXH_h695kDFAST&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=3&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com #include #include #include #include #include #include #define MAX 10.. 2021. 2. 6. [SWEA] 11285. 다트 게임 https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=3&contestProbId=AXZuaLsqz9wDFAST&categoryId=AXZuaLsqz9wDFAST&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=3&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com #include #include #include #include #include #include typedef long l.. 2021. 2. 5. [SWEA] 11315. 오목 판정 https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=3&contestProbId=AXaSUPYqPYMDFASQ&categoryId=AXaSUPYqPYMDFASQ&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=3&pageSize=10&pageIndex=1 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com #include #include #include #include #include typedef long long ll; u.. 2021. 2. 4. [SWEA] 1859. 백만 장자 프로젝트 https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5LrsUaDxcDFAXc SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com #include #include #include #include #include typedef long long ll; using namespace std; int main(void) { int size; int len; vector v; ll quan,buy,sell,num; int max,index; scanf("%d",&size); for(int i = 0; i < size; i++) { ma.. 2021. 2. 3. [SWEA] 1954. 달팽이 숫자 https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=2&contestProbId=AV5PobmqAPoDFAUq&categoryId=AV5PobmqAPoDFAUq&categoryType=CODE&problemTitle=&orderBy=FIRST_REG_DATETIME&selectCodeLang=ALL&select-1=2&pageSize=10&pageIndex=2 SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com #include #include #include #include typedef long long ll; using name.. 2021. 2. 2. [SWEA] 1288. 새로운 불면증 치료법(비트마스크) https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV18_yw6I9MCFAZN SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com #include #include #include #include #include typedef long long ll; using namespace std; int main(void) { // 0 ~9 까지니까 1023이면 될듯. int size,n; int result,temp,digit; int mul; scanf("%d",&size); for(int i = 0; i < size; i++) { .. 2021. 2. 1. [C++] STL 기초 (range_based for문) vector 안녕하세용!! STL Vector에서 for(int i = 0; i < v.size() ; i++) v[i] 이런것에 너무 익숙해져서 남들도 다 쓰는 자동반복을 연습해보도록 하겠습니다. #include #include #include #include typedef long long ll; using namespace std; int main() { int size; int num; int temp; vector v; scanf("%d",&size); for(int i = 0; i < size; i++) { scanf("%d",&num); for(int k = 0; k < num; k++) { scanf("%d",&temp); v.push_back(temp); } sort(v.begin(),v.end()).. 2021. 1. 30. 이전 1 ··· 10 11 12 13 14 15 다음 728x90