전체 글113 [C#][programmers] 문자열 뒤집기 문자열 my_string이 매개변수로 주어집니다. my_string을 거꾸로 뒤집은 문자열을 return하도록 solution 함수를 완성해주세요. using System; public class Solution { public string solution(string my_string) { char[] chars = my_string.ToCharArray(); Array.Reverse(chars); string answer = new string(chars); return answer; } } 👩💻Programming/Coding Test 2022. 11. 10. [Unity][VR] Oculus Quest apk Build, Test 1. Platform : Android으로 빌드하여 apk 파일 생성 2. Download : Oculus Developer Hub Quest / Oculus Developer Hub 아이디 동일하게 로그인 3. Apps 탭 - .apk 파일 드래그앤 드랍 Metrics HUD 다운로드 및 실행하여 프레임 수 확인 가능 4. ADB over WiFi 실행, Quest 동일 WiFi 연결 5. Apps 탭 - .apk 파일 Launch 🎮Unity 2022. 9. 27. [Unity] [Hand Tracking] Pose 참고자료 https://blog.immersive-insiders.com/oculus-hand-interaction-pose-detection/ Oculus Hand Interaction: Pose detection Previously, we saw how to set up hand tracking, and we learned about grab interaction, poke interaction and ray interaction. If you haven’t checked out the first part of this series, we highly recommend checking it. In this blog, we’ll learn how to cre blog.immersive-insiders... 🎮Unity 2022. 8. 31. [unity] Photon + VR 포톤 네트워크와 VR 사용 주의점 1. Camera Rig 여러개 Instantiate 하지 말 것 => photonView를 사용하여 isMine 경우 자식화 등을 사용하여 관리 * 다만 이 경우 캐릭터 / 아바타의 Transform View 사용을 위해 Dummy Object를 활용할 것 => Instantiate 말고 Scene에 미리 배치 🎮Unity 2022. 8. 24. [Unity] obj / fbx exporter (런타임 적용 대안) https://rito15.github.io/posts/unity-obj-exporter/ 유니티 - Obj Exporter(메시를 OBJ 파일로 저장하기) Source Code rito15.github.io https://assetstore.unity.com/packages/tools/utilities/mesh-to-file-obj-fbx-ascii-135071#content Mesh To File - Obj, Fbx ASCII | 유틸리티 도구 | Unity Asset Store Use the Mesh To File - Obj, Fbx ASCII from Pinwheel Studio on your next project. Find this utility tool & more on the Unity A.. 🎮Unity 2022. 8. 20. [Unity][Hand Tracking] UI poke https://blog.immersive-insiders.com/oculus-hand-interaction-basic-poke/ Oculus Hand Interaction: Basic Poke In the previous blog, we learned to set up hand tracking and also learned about grab interaction. In this blog, we’ll be talking about poke interaction. As the name suggests, we’ll see how to create a VR Button that can be pressed by poking. Prerequisi blog.immersive-insiders.com https://g.. 🎮Unity 2022. 8. 19. [Unity][photon] 포톤 네트워크 1. 포톤 네트워크 구조 마스터 / 로비 / 룸 에 대한 구조를 이해해야함 룸과 룸 이동시에는 로비로 나가야함 https://www.youtube.com/watch?v=YvLbPC4TlX4 https://doc.photonengine.com/ko-kr/pun/current/getting-started/pun-intro 소개 | Photon Engine Cookie 설정 Photon은 귀하를 로그인 사용자로 식별하고 품질을 개선하고 마케팅을 위해 쿠키를 사용합니다. 아래 Cookie 설정을 확인하고 프라이버시를 관리해 주시기 바랍니다. 당사가 Cookie를 사용 doc.photonengine.com 도큐멘트 검색 혹은 포톤 SDK 임포트 후 프로젝트 내 도큐멘트 참고할 것 포톤 네트워크 사용 주의점 다양한.. 🎮Unity 2022. 8. 19. [C#] [BOJ#13063] Lobby https://www.acmicpc.net/problem/13063 13063번: Lobby There are multiple test cases in the input. Each test case appears in one line containing three space-separated integers n, m and k which respectively are the total number of members, the number of members in the Conservative Party and the number of member www.acmicpc.net My Solution using System; namespace ConsoleApp1 { class Program { static .. 👩💻Programming/Coding Test 2022. 8. 14. [C#] [BOJ#2445] 지능형 기차 https://www.acmicpc.net/problem/2455 2455번: 지능형 기차 최근에 개발된 지능형 기차가 1번역(출발역)부터 4번역(종착역)까지 4개의 정차역이 있는 노선에서 운행되고 있다. 이 기차에는 타거나 내리는 사람 수를 자동으로 인식할 수 있는 장치가 있다. www.acmicpc.net My Solution using System; using System.Linq; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int[] result = new int[5]; result[0] = 0; for (int i = 1; i < 5; i++) { int[] n = Array.ConvertAll(Consol.. 👩💻Programming/Coding Test 2022. 8. 14. [C#] [BOJ#5073] 삼각형과 세 변 https://www.acmicpc.net/problem/5073 5073번: 삼각형과 세 변 각 입력에 맞는 결과 (Equilateral, Isosceles, Scalene, Invalid) 를 출력하시오. www.acmicpc.net My Solution using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) { while (true) { int[] t = Array.ConvertAll(Console.ReadLine().Split(), int.Parse); if (t[0] == 0) break; Array.Sort(t); if (t[2] >= t[0] + t[1]) Console.WriteLine("In.. 👩💻Programming/Coding Test 2022. 8. 14. [C#] [BOJ#2775] 부녀회장이 될테야 https://www.acmicpc.net/problem/2775 2775번: 부녀회장이 될테야 첫 번째 줄에 Test case의 수 T가 주어진다. 그리고 각각의 케이스마다 입력으로 첫 번째 줄에 정수 k, 두 번째 줄에 정수 n이 주어진다 www.acmicpc.net My Solution using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int t = int.Parse(Console.ReadLine()); for (int i = 0; i < t; i++) { int k = int.Parse(Console.ReadLine()); int n = int.Parse(Console.ReadLine());.. 👩💻Programming/Coding Test 2022. 8. 14. [C#] [BOJ#10872] 팩토리얼 https://www.acmicpc.net/problem/10872 10872번: 팩토리얼 0보다 크거나 같은 정수 N이 주어진다. 이때, N!을 출력하는 프로그램을 작성하시오. www.acmicpc.net My Solution using System; namespace ConsoleApp1 { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int result = n; int i = n-1; while (i > 0) { result = result * i; i--; } Console.WriteLine(n == 0 ? 1 : result); } } } 👩💻Programming/Coding Test 2022. 8. 14. 이전 1 2 3 4 5 6 7 ··· 10 다음