[1st Week]환경설정 1.VM ware 우선 수업에 필요한 Linux를 쓰기 위해 필요한 VM ware (or VirtualBox) 를 설치 (VM ware설치에 필요한 serial Key는 구글링하면 찾을 수 있다. 강사님이 말씀하시기로는 VMware 홈페이지에 나와있다고 하셨다.ㅋㅋ) 2.Ububtu OS 그 위에 Ubuntu OS 를 올렸다. 버전은 Ububtu-18.04.2버전이다. 3.시큐어코딩 시큐어코딩을 하기 위해 필요한 소스를 강사님께서 제공해주셨다. 4.Burp Suite Community Edition 웹 프록시 도구를 다운받았다. 프록시란? 컴퓨터 네트워크에서 다른 서버 상의 자원을 찾는 클라이언트로부터 요청을 받아 중계하는 서버를 말한다. 그래서 특정 사이트를 브라우저를 통해 들어갈때 어떤일이 일어나는지.. [JAVA Lv.1] 완주하지 못한 선수 1 23456789101112131415161718import java.util.*; class Solution { public String solution(String[] participant, String[] completion) { String answer = ""; Arrays.sort(participant); Arrays.sort(completion); int i; for (i = 0; i [7단계]문자열 사용하기-2941번 크로아티아 알파벳 123456789101112131415161718192021222324252627import java.util.*;public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String S = sc.nextLine(); int cnt=0; for(int i=0;i=2 && S.charAt(i-2)=='d') cnt--; } else if(tmp=='j'){ if(S.charAt(i-1)=='l') cnt--; else if(S.charAt(i-1)=='n') cnt--; } } System.out.println(cnt); }}Colored by Color Scriptercs [7단계]문자열 사용하기-5622번 다이얼 1234567891011121314151617181920212223242526272829303132333435363738394041import java.util.*;public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String S = sc.nextLine(); int time=0; for(int i=0;i [7단계]문자열 사용하기-2908번 상수 12345678910111213141516import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int new_a; int new_b; new_a = (a%10)*100+(a/10%10)*10+(a/100); new_b = (b%10)*100+(b/10%10)*10+(b/100); System.out.println((new_a>new_b)?new_a:new_b); }}Colored by Color Scripter 123456789101112131415161718192021222.. [7단계]문자열 사용하기-1152번 단어의 개수 1234567891011121314import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String arr = sc.nextLine().trim(); if(arr.isEmpty()){ System.out.println(0); } else{ System.out.println(arr.split(" ").length); } }}Colored by Color Scriptercs [7단계]문자열 사용하기-1316번 그룹단어 체커 1234567891011121314151617181920212223242526272829303132import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int cnt=num; for(int i=0;i [7단계]문자열 사용하기-1157번 단어공부 1234567891011121314151617181920212223242526import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); String S = sc.nextLine().toUpperCase(); int[] atoz = new int[26]; int big=0; char result='?'; for(int i=0;i 이전 1 2 3 4 5 ··· 12 다음