놀이방
본문 바로가기

전체 글

(425)
[백준 2869]달팽이는 올라가고 싶다-C++ 을 풀어봤는데while문을 사용해서 구하니 시간초과가 뜨더라구요규칙을 찾는 문제같네요 소스(실패한소스)#includeusing namespace std;int main() { int v, a, b; int count = 1; int sum = 0; cin >> a >> b >> v; while (sum = v) { break; } sum -= b; count++; }cout 공식v-a =>정상에 올라가면 미끄러지지 않기 때문에(v-a)/(a-b)그리고 (v - a) % (a - b) == 0 는 정상에 도착하면 더 이상은 내려가지 않기 때문에 이 때는 +1을 해주고 맞은 소스#includeusing namespace std;int main() { int v, a, b; int count = ..
공학통계 - 파이썬 상관계수,산점도,히스토그램,줄기잎그림 구하기 import numpy as npimport matplotlib.pyplot as pltincome=np.array([6.2,6.4,7.6,8.0,7.6,6.5,10.9,5.9,7.2,6.0, 8.1,8.3,25.1,7.8,9.9,7.2,5.3,7.9,8.4,6.1, 9.5,6.0,5.0,8.1,6.1,4.9,8.3,5.4,6.0,8.7, 6.4,9.2,6.9,6.8,5.0,8.5,6.0,6.3,5.2,5.9, 6.7,6.4,6.5,6.2,10.6,8.6,3.9,15.1])plt.hist(income,edgecolor='white',color='r',bins=8)plt.show()import..
시뮬레이션 아레나 설치 및 샘플 다운받기 시뮬레이션 아레나 설치 및 샘플 다운받기 아레나 다운 링크시뮬레이션 아레나 설치 및 샘플 다운받기 아레나 다운 링크네이버=>arenasimulation검색하면 블로그에서 주소를 찾아도 됨https://www.arenasimulation.com/ Arena Simulation Software | Arena Simulation Software | USArena Simulation uses historical data to create a digital twin to analyze system results through Discrete-Event, Flow, and Agent Based modeling methodswww.rockwellautomation.com 학생버전은 무료로 사용가능 bookexam..