일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
- 자바독학
- Reflex
- C++
- 개발
- backend
- 빅데이터
- 코딩테스트
- frontend
- Project
- 풀스택프레임워크
- java정리
- 프로그램
- 프로그래밍
- 코테
- 모의 주식
- 개인프로젝트
- 이웃한 칸
- 사물인터넷
- 코딩
- 자바정리
- 주가예측
- 코딩독학
- 백준
- 코스닥
- java
- SNS
- Python
- 개발자
- 자바
- 프로그래머스
- Today
- Total
목록코딩 (18)
Creative Code
#include #include #include #include using namespace std;int dp[301][3] = { 0 }; // n번째 계단에 m번연속 발판을 밟아 도착했을 때 얻을 수 있는 점수int stair[301]; // 계단의 점수를 저장하는 배열int solution(int N) { int answer = 0; dp[0][1] = 0; dp[0][2] = 0; dp[1][1] = stair[1]; dp[1][2] = stair[1]; for (int i = 2; i > N; int numStair = N; int index = 1; while (N > 0) { int k; cin >> k; stair[index] = k; index++; N--; } cout h..
https://www.acmicpc.net/problem/2312 2312번: 수 복원하기 첫째 줄에 테스트 케이스의 수가 주어진다. 각 테스트 케이스마다 양의 정수 N (2 ≤ N ≤ 100,000)이 주어진다. www.acmicpc.net #include #include #include #include using namespace std; void solution(int k) { int a = 2; // 처음 나눌 소인수 int b = 0; // a로 나누어떨어지는 횟수 while (k > 1) { if (k % a == 0) { // k가 a로 나누어떨어질때 b++; // 횟수 추가 k /= a; if (k % a != 0) { printf("%d %d\n",a, b); // 더이상 나누어떨어지지 ..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bI2iYP/btsCjYqSMav/SKLj1kKZKiCOm0LS8Crnkk/img.png)
--> 로그인화면의 배경화면을 gif 파일로 수정 ※pages/login.py 코드 """Login page. Uses auth_layout to render UI shared with the sign up page.""" import reflex as rx from lunar.state.auth import AuthState def login(): return rx.container( rx.container(height='150px'), rx.hstack( # rx.vstack( # rx.container(height='30px'), # rx.image( # src = '/space2.jpg', # ), # width = '500px', # height= '100%', # ), # rx.containe..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/NdEuP/btsBGhkF8Sq/sWu4ys7ILnCqsdNpYIk8o1/img.png)
감기로 인해 3일만에 작업.. 아래 메뉴에 보이는 추가 예정 기능들(홈화면, my profile, map, chat, Ai chat, diary, video, game, setting) --> 더 추가할 수도 있음.. 왼쪽 Recommended friends에는 추후에 머신러닝을 이용해 사용자가 알 수도 있는 친구를 추천해주는 알고리즘을 만들어 적용시킬예정 Aurora프로젝트와 비슷하지만 게시글 업로드 시 각종 공감기능, 댓글기능 추가할 예정! 오늘 작업 코드 : ※pages/home.py (프론트엔드부분) # lunar.state.home 모듈에서 필요한 State 및 HomeState를 가져옵니다. import reflex as rx from lunar.state.base import State fr..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/QtOMw/btsBvoxCMfA/RJ6RrAXTfnMbKkLVLyF0P1/img.png)
--> 아이디와 비밀번호를 입력하면 sqlite 데이터 베이스에 저장되어있는 유저 데이터와 비교해 일치할 시 로그인 가능 ※로그인 화면 코드(pages/login.py) """Login page. Uses auth_layout to render UI shared with the sign up page.""" import reflex as rx from lunar.state.auth import AuthState def login(): return rx.container( rx.container(height='150px'), rx.hstack( rx.vstack( rx.container(height='30px'), rx.image( src = '/space2.jpg', ), width = '500px', ..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/pF6n1/btsBvqa2Rs0/IhKBiyxUhtrTZhI1glKQ70/img.png)
※ 코드 내용 pages/findpassword.py """findpassword page. Uses auth_layout to render UI shared with the sign up page.""" import reflex as rx from lunar.state.auth import AuthState def findpassword(): return rx.container( rx.container(height='150px'), rx.hstack( rx.vstack( rx.hstack( rx.vstack( rx.container(height='20px'), rx.image( src = "/moonico.ico", width="70px", height="70px", ), ), rx.vstack( rx..