개발 공부(39)
-
라이엇 api 가지고 놀기
일단 여기로 들어간다 https://developer.riotgames.com/apis#account-v1/GET_getByRiotId Riot Developer Portal developer.riotgames.com gameName => 닉네임tagLine => 태그 이름 한국은 아시아니까 아시아로 선택해주고미리 만들어준 키를 선택해준다 200이 뜨면 성공한거다 response body 이렇게 뜬다 여기서 알수있는데 puuid값이 나오는데 이걸로 매치 아이디를 통해서 전적검색이 가능해진다 그다음에https://developer.riotgames.com/apis#match-v5 Riot Developer Portal developer.riotgames.com이쪽으로 들어가준다 이걸 클릭해주고 아까..
2025.01.10 -
백준 기본양식
import java.util.Scanner;public class Main { public static void main(String[] args) { int A,B,C; Scanner sc = new Scanner(System.in); A = sc.nextInt(); B = sc.nextInt(); C = A + B; System.out.println(C); }}
2024.12.24 -
밑에와 같이 Denpendency submission failed failed for dependency-graph-reports
깃액션에서 ci 할떄 나오는 문제이다 Error: Error: Dependency submission failed for dependency-graph-reports/java_ci_with_gra 뜰떄 있는https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-the-dependency-graph 이걸로 해결하면 좋을거같습니다.
2024.07.17 -
자바 자동 임포트
import java.util.*; 문제풀이할떄 자주 임포트해서 사용한다 그래서 따로검색하기 싫어서 이렇게 저장해둔다
2024.03.05 -
백준 풀떄 기본 함수
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a, b; a = sc.nextInt(); b = sc.nextInt(); System.out.println(a * b); } } 백준 풀떄 이거 복사 붙어 넣기하자!!
2024.02.21 -
코딩테스트 합격자 되자 4주차 과제
1번문제 import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt();// 괄호의 수 for (int i = 0; i < n; i++) { Stack stack = new Stack(); // 캐릭터타입 String s = scan.next(); for (int j = 0; j < s.length(); j++) { char currentChar = s.charAt(j); if (currentChar == '(' || currentChar == '{' || currentChar == '[') { stack.push..
2024.01.02