This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🌞 Morning 27 commits █▉░░░░░░░░░░░░░░░░░░░ 9.2% | |
🌆 Daytime 51 commits ███▋░░░░░░░░░░░░░░░░░ 17.5% | |
🌃 Evening 198 commits ██████████████▏░░░░░░ 67.8% | |
🌙 Night 16 commits █▏░░░░░░░░░░░░░░░░░░░ 5.5% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void permutation(int idx) { | |
if(idx == R) { | |
return; | |
} | |
for(int i = 0; i < list.length; ++i) { | |
if(visited[i]) continue; | |
resulList[idx] = list[i]; | |
visited[i] = true; | |
permutation(idx+1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class EuclideanAlgorithm { | |
public static void main(String[] args) { | |
Scanner sc = new Scanner(System.in); | |
int a = sc.nextInt(); // 제수 | |
int b = sc.nextInt(); // 피제수 | |
System.out.println(GCD(a, b)); | |
sc.close(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DiskController { | |
public int solution(int[][] jobs) { | |
int answer = 0; | |
return answer; | |
} | |
} |