- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 빨간 줄이 그어진 저 구문에서 오류가 납니다.. 404값으로 돌려주지 않을 때는 정상 작동하였는데 저 구문에서 오류가 발생합니다 무엇이 문제일까요 .. 막히는 부분은 구글링으로 거의 대다수 해결이 됐는데,, 이번에는 검색해봐도 알 수가 없어 질문드립니다 ㅜㅜ
설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
- 강의 내용외의 개인 질문은 받지 않아요. (개인 과제, 영상과 다른 접근방법 후 디버깅 요청, 고민 상담 등..) - 저 포함, 다른 수강생 분들이 함께보는 공간입니다. 보기좋게 남겨주시면 좋은 QnA 문화가 될 것 같아요. (글쓰기는 현업에서 중요한 능력입니다!) - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. vivado 는 잘 들어가지는데 무슨 오류인지 궁금하네요..
그런데 sleact 데이터 베이스와 seed Data가 제 mysql localhost에는 만들어진게 없는데, npx sequelize db:create 이 명령어와 npx sequelize db:seed:all 이 명령어를 입력했을 때, 제 mysql 상에 데이터가 들어와야 맞는거 아닌가 해서 질문 드립니다. 물론 localhost :3095는 잘 나옵니다. 감사합니다.
Top Most Effective Love Spells Caster / Voodoo Love Spells / Best Psychic and Wicca Spells Caster +256704813095 mama makula , is famous all over the world as best magic spell caster. She can solve each and every problems of life through her powerful services. She have proved herself through her work, She have helped many people all around the world through spells. She is also famous as black magic specialist. She solves every problem in the easiest way and gives his 100% and bring out the desired result to satisfy the person who comes to her for help. And if you are searching for a spell caster to solve your problems then you are on the right place. She provides various services like Lost love spell, Love spell, Lottery spell, Black Magic spells, Revenge spells, Love spell chants, Lottery spell that work immediately, Lottery money spell, Voodoo love spell, Real Love spell that work, etc . So if you are having any problem and want to solve it through magic spells then fee free contact MAMA MUSUBO. Even you can feel free to call her through . Call Or What's App On+256704813095
#include <iostream> #include <string> #include <map> using namespace std; int N, a, e; map<int, string> res; string s, p; int main() { cin >> N >> p; for (int i = 0; i < p.size(); i++) { a = p.find('*'); } for (int i = 0; i < N; i++) { cin >> s; if (s.size() < p.size()) res[i] = "NE"; else { if (p.substr(0, a) == s.substr(0, a) && p.substr(p.size() - a) == s.substr(s.size() - a)) res[i] = "DA"; else res[i] = "NE"; } } for (int i = 0; i < N; i++) cout << res[i] << "\n"; return 0; } 위와 같이 코드를 짰는데.. 뭐가 문제인지를 잘 모르겠습니다. 암만 생각해도... 예외적이 케이스까지 다 처리했다고 생각하는데.. 계속 틀렸다고 나오네요 ㅜㅜ
안녕하세요. 좋은 강의 해주셔서 감사합니다. 다름이 아니라 따라 공부하는중에 기능이 제대로 작동하지않아 글 남깁니다. 댓글은 디비에 잘 저장되고 아무 문제없지만 답글을 달면 새로고침이 되며 디비에도 저장이 안됩니다. 콘솔창과 네트워크 아무런 오류가 뜨지않습니다. 계속 봤지만 어디가 문제인지 감이 잡히지않아 질문 남깁니다. 감사합니다. 깃허브 주소입니다. https://github.com/youngjae0411/123
#include <iostream> #include <algorithm> using namespace std; int N, K, psum, ret = -10000004, tmp[100000]; int main() { cin >> N >> K; for (int i = 0; i < N; i++) { cin >> tmp[i]; } int max = 0; for (int i = 0; i < N - K + 1; i++) { for (int j = 0; j < K; j++) { psum += tmp[i + j]; } ret = max(ret, psum); psum = 0; } cout << ret; return 0; } 위와 같이 코드를 짰는데 max 함수가 작동하지 않는 이유가 무엇일까요?
선생님께 여쭙고 싶은게 있습니다. 상속 vs GetComponent에 관한 질문인데, 도저히 확실한 해답을 찾지 못해서 이렇게 질문드립니다. A라는 스크립트에서 Hp를 관리하고 있습니다. B에서 A의 스크립트를 가져와서 Hp를 조정을 하게 된다면 B가 A를 상속을 받아서 관리를 하는 것이 좋을지, 아니면 GameObject에 A와 B 둘 다 넣어서 GetComponent로 통해서 관리를 할 지. 선생님께서는 어떻게 생각하시는지 궁금합니다 !
void doSomething() { static int a ; ++a; cout << a << endl; } int main() { doSomething(); doSomething(); } 연습 차 일부러 static에 초기화 값을 안넣어줬는데요. error 가 안나고 0으로 자동 초기화해서 1, 2 ,가 출력되더라고요. 원래 static은 초기화를 안해주면 0으로 알아서 넣어주나요?
섹션 3 - 1 진행 중 JoinActivity에 myRef = database.getReference("message") 까지 하고 실행을 해 보니 데이터베이스에 정보가 올라가지 않고 아예 회원가입 자체가 되질 않고 있습니다. 정보를 입력하고 가입을 누르면 가입이 되지 않고 introActivity로 돌아가는 상황입니다. 어디서 문제인지 확인해보려 한 단계씩 하면서 실행을 해 보니 table = findViewById<TextInputEditText>(R.id.tableArea).text.toString() introduce = findViewById<TextInputEditText>(R.id.introduceArea).text.toString() 이 부분을 입력 한 후에 실행을 했을 때 위와 같은 문제가 발생하고 있는데 어디가 문제인 걸까요..? 참고로 저는 JoinActivity를 아이디,비밀번호,번호(tableArea),소개(introduceArea) 이렇게 4개만 입력하게 구성했습니다. package com.cockandroid.dating.auth import android.content.ContentValues.TAG import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.widget.Button import com.cockandroid.dating.R import com.google.android.material.textfield.TextInputEditText import com.google.firebase.auth.FirebaseAuth import com.google.firebase.auth.ktx.auth import com.google.firebase.database.ktx.database import com.google.firebase.ktx.Firebase class JoinActivity : AppCompatActivity() { private lateinit var auth: FirebaseAuth private var uid = "" private var table = "" private var introduce = "" // private val TAG = "JoinActivity" override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_join) auth = Firebase.auth val newbtn =findViewById<Button>(R.id.newbtn) newbtn.setOnClickListener { val ID = findViewById<TextInputEditText>(R.id.IDArea) val password = findViewById<TextInputEditText>(R.id.passwordArea) table = findViewById<TextInputEditText>(R.id.tableArea).text.toString() introduce = findViewById<TextInputEditText>(R.id.introduceArea).text.toString() auth.createUserWithEmailAndPassword(ID.text.toString(), password.text.toString()) .addOnCompleteListener(this) { task -> if (task.isSuccessful) { // Sign in success, update UI with the signed-in user's information Log.d(TAG, "createUserWithEmail:success") val user = auth.currentUser uid = user?.uid.toString() val database = Firebase.database val myRef = database.getReference("message") myRef.setValue("Hello, World!") // updateUI(user) // val intent = Intent(this, MainActivity::class.java) // startActivity(intent) } else { // If sign in fails, display a message to the user. Log.w(TAG, "createUserWithEmail:failure", task.exception) // Toast.makeText(baseContext, "Authentication failed.", // Toast.LENGTH_SHORT).show() // updateUI(null) } } } } }
2분 30초대 설명을 듣고 src/main/resources/static src/main/resources/public src/main/resources/resources src/main/resources/META-INF/resources 위 네개의 경로에 정적 파일이 들어있기만 하면 http://localhost:8080/[파일명] 으로 접근이 가능한건가요?
import sys sys.stdin = open('input.txt', 'rt') N = int(input()) score = list(map(int, input().split())) ave = int((sum(score) / N) + 0.5) min = score[0] for i,v in enumerate(score): value = abs(v - ave) #print(value) if value < min: min = value idx = i tmp_score = v elif value == min: if v > tmp_score: min = value idx = i tmp_score = v print(ave, idx + 1) 작성한 코드입니다. in5 는 5 1 2 3 4 5 로 입력을 받는데 해당 케이스 통과를 못하네요. 비쥬얼스튜디오에서 돌려보니 tmp_score가 정의되지 않았다고 뜨네요. min값을 초기화 할 때 리스트 0번쨰 인덱스로도 초기화 한다고 하셨는데 뭐가 문제인건가요?
안녕하세요, 우선 질좋은 강의 해주셔서 감사드립니다. 다름이 아니라 Search Book 프래그먼트에서 검색어 입력 후 책을 클릭하면 Book Fragment로 이동합니다. 이 상태로 바텀 내비게이션의 Favorite Books 아이콘을 클릭하고 다시 Search Books 아이콘을 클릭하면 바텀 내비게이션 아이콘은 Favorite Books를 클릭한 상태로 보여집니다. 또한 Search Book Fragment를 보여줘야 할 것 같은데 여전히 클릭한 Book Fragment를 보여주고 있습니다. 어떻게 해결해야 할까요? 정리하자면, Book Fragment에 들어간 상태에서 BottomNavigationView의 Favorite Books 아이콘 클릭 후 다시 Search Books 아이콘을 클릭하면 이상하게 동작합니다. Search Books Fragment가 실행되게 하고 싶습니다.