This file contains hidden or 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
package org.example; | |
public class Main { | |
public static long result = 0; | |
public static void main(String[] args) { | |
final int NUM_THREADS = 10; | |
final long START_NUM = 0; | |
//final long END_NUM = 300000000; | |
final long END_NUM = 10000000; |
This file contains hidden or 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
## 자바 기초 학습하기 | |
1. 무엇으로 자바를 공부했나요 (기초편)? | |
- 이것이 자바다 (신용권 저) | |
- 자바의 정석 기초편 (남궁성 저) | |
- 인프런 강의 (김영한 강사님 기초편) | |
2. 기초를 학습한 이후 자바를 학습하기 위해 좋은 것들은? |
엄랭은 프로그래밍 언어입니다.
This file contains hidden or 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
#!/bin/bash | |
filename='user.txt' | |
repo='origin' | |
base='main' | |
i=0 | |
while read user; do | |
echo "$i: $user" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
#include <stdio.h> | |
#include <stdlib.h> | |
double d[] = {1.0, 3.0, 5.0}; //전역변수, data 영역에 저장됨 | |
int main(int argc, char const *argv[]) | |
{ | |
int *a = malloc(sizeof(int) * 10); //동적 할당 힙에 저장됨 | |
a[0] = 1; | |
a[1] = 2; |
This file contains hidden or 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
#include <cstdio> | |
#include <iostream> | |
#include <vector> | |
#include <algorithm> | |
using namespace std; | |
using ull = long long int; | |
vector<string> d = { | |
"###...#.###.###.#.#.###.###.###.###.###", |
This file contains hidden or 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
#include <cstdio> | |
#include <iostream> | |
#include <vector> | |
#include <algorithm> | |
#include <map> | |
using namespace std; | |
using ull = long long int; | |
const int INF = 87654321; |
This file contains hidden or 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
package net.honux; | |
public class Quantum extends Thread { | |
static int a; | |
public static void main(String[] args) { | |
Thread t = new Quantum(); | |
t.start(); |
NewerOlder