전체 글113 [C#] [BOJ#10809] 알파벳 찾기 My Solution using System; using System.Linq; namespace ConsoleApp1 { class Program { static void Main(string[] args) { string s = Console.ReadLine(); char[] ss = s.ToCharArray(); string alphab = "abcdefghijklmnopqrstuvwxyz"; char[] alphabets = alphab.ToCharArray(); for (int i = 0; i < 26; i++) { int position = Array.IndexOf(ss, alphabets[i]); Console.WriteLine(position); } } } } Solution char이 +.. 👩💻Programming/Coding Test 2022. 8. 8. [C#] [BOJ#11720] 숫자의 합 My Solution using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) { string t = Console.ReadLine(); string s = Console.ReadLine(); char[] ss = s.ToCharArray(); int sum = 0; for (int i = 0; i < ss.Length; i++) { sum += int.Parse(ss[i].ToString()); } Console.WriteLine(sum); } } } 👩💻Programming/Coding Test 2022. 8. 8. [C#] [BOJ#5622] 다이얼 My Solution using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) { char[] num = Console.ReadLine().ToCharArray(); string[] alphabets = { "ABC", "DEF", "GHI", "JKL", "MNO", "PQRS", "TUV", "WXYZ" }; int sum = 0; int position = 0; for (int i = 0; i < num.Length; i++) { for (int j = 0; j < alphabets.Length; j++) if (alphabets[j].Contains(num[i].ToString())) { positio.. 👩💻Programming/Coding Test 2022. 8. 8. [C#] [BOJ#2941] 크로아티아 알파벳 My Solution using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) { string input = Console.ReadLine(); string[] alphabets = { "c=", "c-", "dz=", "d-", "lj", "nj", "s=", "z=" }; for (int i = 0; i < alphabets.Length; i++) { input = input.Replace(alphabets[i], "a"); } Console.WriteLine(input.Length) ; } } 👩💻Programming/Coding Test 2022. 8. 8. [ML-Agents] 3D Ball 실습 22.07.11 Unity ML PPO (Proximal Policy Optimization) SAC (Soft Actor-Critic) Curiosity MA-POCA (MultiAgent POsthumous Credit Assignment) 3D Ball 예제 C:\ml-agents-main\ml-agents-main\config\ppo 3DBall.yaml behaviors: 3DBall: trainer_type: ppo hyperparameters: batch_size: 64 buffer_size: 12000 learning_rate: 0.0003 // beta: 0.001 epsilon: 0.2 lambd: 0.99 num_epoch: 3 learning_rate_schedule: linear .. 🎮Unity 2022. 8. 8. [ML-Agents] ML-Agents 톺아보기 22.07.08 Machine Learning 기계가 학습을 할 수 있도록 함 Artificial Intelligence Machine Learning Deep Learning Machine Learning 지도 학습 준지도 학습 비지도 학습 강화 학습 Reinforcement Learning Data → Learning → Program → solving → output ML-agent *2.0 / 1.0 Python과 Unity 환경 간 통신 🎮Unity 2022. 8. 8. 40+ Immersive Technology Terms Augmented Reality (AR) Augmented Reality (also known as AR) is a kind of futuristic technology that adds virtual elements as an overlay to the real world. Ad Tech Ad Tech is defined as a range of software and tools that brands, marketers, and advertising agencies use to strategize, set up, and manage their digital advertising activities. Artificial Intelligence Artificial Intelligence is sometim.. 🔎etc. 2022. 8. 6. [Git] GitFlow 형상관리 Routine 개인 개발 브랜치 확인 디벨롭 브랜치로 체크아웃시 개인개발 브랜치에서 모두 커밋할 것 작업 시작하기 전 깃 작업 로컬 저장소가 develop branch인지 확인 git branch 만약 develop 브랜치가 아닌 경우 develop 브랜치로 체크아웃 git checkout develop 원격 저장소의 develop 브랜치에서 가져오기 git pull origin develop git 충돌이 발생한 경우 해결 한 후 Merge Commit 한다. add . git commit -m "충돌해결 - 내용" 정상적으로 pull이 완료된 후 자신의 개발 브랜치로 체크아웃 git checkout dev/mmm 로컬 develop 저장소의 변경 사항을 자신의 개발 브랜치로 Merge 한다 git m.. 🔎etc. 2022. 8. 4. [협업] Slack / GitHub / Trello 연동 Slack GitHub Trello 연동 22.08.04 1. Trello에서 Slack 연동 Power-Ups → Add Power-Ups → (Slack)Settings →Edit Power-Up Settings Add Slack Alerts → Choose a Slack workspace → Choose a Channel rename, archive 등 알람 필요없는 것은 uncheck 알람 받을 채널 따로 설정 권장 2. Trello에서 GitHub 연동 Power-Ups → Add Power-Ups → (GitHub)Settings →Edit Power-Up Settings → Add repo 3. Slack에서 GitHub 연동 앱 찾아보기 → GitHub 추가 → 계정 연동 → 특정 채널에서.. 🔎etc. 2022. 8. 4. [Git] Git 형상관리 22.08.03 Git 형상관리 프로그램 버전 컨트롤 시스템 VCS 분산형 형상관리 리눅스 창시자인 리누스 토발즈가 개발 GitHub 원격 저장소를 제공하는 무료 웹 서비스 2018년 마쏘가 인수 전세계에서 가장 큰 오픈소스 저장소 유사 : Gitlab / Bitbucket 프로그래머의 포트폴리오 용어 리포지토리 Repository 저장소, 저장공간, HDD 저장 위치에 따라 구분 로컬 리포지토리 리모트 리포지토리 project (Add / Commit)→ Local Repository (Push)→ Remote Repository Remote Repository (Pull)→ Local Repository 필수 Git 명령어 working directory (git add) → staging Area .. 🔎etc. 2022. 8. 3. [photon] 방 만들기, RPCs 0701 Preparation Photon Pun 2 Free Download and Import Pun 실습 void Start() { //버튼 비활성화 signOut_btn.interactable = false; join_btn.interactable = false; } 전체 코드 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using Photon.Pun; using Photon.Realtime; enum NetworkState { none, connected, disconnected, createRoom, inRoom} public class LobbyManager.. 🎮Unity 2022. 7. 31. [Photon] Photon 톺아보기 22.06.30 Stream File Stream Binary Stream 파일 저장 Class 단위 저장 직렬화 Stream 기반 (Binary) Open / Close Unity 실습 모바일 Stream fs = new FileStream(path+"MySaveData.sav", FileMode.Open); //Mobile용 print(fs); if(fs != null) { //저장 BinaryFormatter bf = new BinaryFormatter(); //바이너리방식으로 다양한 자료를 한번에 saveData = (SaveData)bf.Deserialize(fs); //로드 fs.Close(); } 네트워크 방식 Client - Server 전통적 방식 메인 서버 필수로 존재해야함 각 클라이언.. 🎮Unity 2022. 7. 31. 이전 1 ··· 3 4 5 6 7 8 9 10 다음