thecopiens / algorithm-study Goto Github PK
View Code? Open in Web Editor NEW:orange_book: Algorithm study
:orange_book: Algorithm study
https://github.com/TheCopiens/algorithm-study/blob/master/source/ohhako/boj/2309.java
이클립스에서 돌렸을때는 올바른 답이 나왔습니다.
i와 j가 같을때 빼고는 예외 경우가 없는것 같은데
테스트케이스가 적어서 어디서 문제인지 찾기가 어렵네요.
혹시 문제점을 발견하신다면 글 남겨주세요.
28%에서 틀리다고 나오는데, 의심이 가는 부분은, 궁수가 공격한 적이 중복될 수도 있다는점, 그 적을 지우고 제거개수를 ++하는 부분 인데 이 부분은 맞게 처리한것같은데.. 어디가 틀린걸까...
코드리뷰 #33
열쇠 회전, 자물쇠 확장후 비교, 자물쇠 모든 홈 채우기 모두 제대로 동작한 것을 실행
에서 확인했으나 테스트케이스에서 통과하지 못했습니다.
잘못된 부분 혹은 빠뜨린 조건 등을 발견하신다면 pull request에서 코드리뷰에 글 남겨주세요.
숫자사이에 '+', '-', ' ' 3개의 문자를 끼워넣은 결과값이 0 이 되는지 판별하는 완전탐색 문제입니다.
어느부분에서 틀린건지 모르겟습니다ㅠ.ㅠ
non-static class의 static 멤버 변수는 클래스 객체를 선언하지 않아도
외부에서 변수 이름만 갖고 사용할 수 있다.
외부에서 사용은 해당 static멤버변수가 public으로 선언 되었을 때 해당
URL: https://github.com/TheCopiens/algorithm-study/blob/ohhako/source/ohhako/200127_queue.md
상세질문: 명시한 구현 순서대로 프로그래밍 했으나 프로그래머스에서 첫번째 입출력에만 옳은 결과를 얻었습니다. 예외(Exception)가 발생하진 않았으나 기대값과 결과값이 상이했습니다.
두번째 입출력 결과는 기대값과 결과값의 차이가 1이였으나
세번째 입출력 결과는 기대값과 결과값의 차이가 컸습니다.
코드의 어느 부분이 논리적인 오류를 발생시켰다고 생각하시는지 궁금합니다.
charAt vs char 배열만들어 순회하기 둘 중 어떤 방법이 더 빠를까?
만개, 1억개의 데이터를 기준으로 어떤 방법이 더 빠를지 비교해보기로 한다.
코드 링크 : 비밀지도 미션에 첨부된 source코드를 보면 if실행문 안에 있는 for문에서 ans.length()를 직접 호출하는 대신 변수 len를 선언해 사용했다. ans.length()를 그대로 사용할때 에러가 나는 이유는 무엇일까
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.