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