Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8-InSange #32

Merged
merged 5 commits into from
May 4, 2024
Merged

8-InSange #32

merged 5 commits into from
May 4, 2024

Conversation

InSange
Copy link
Collaborator

@InSange InSange commented Apr 9, 2024

๐Ÿ”— ๋ฌธ์ œ ๋งํฌ

๋‘ ์šฉ์•ก

โœ”๏ธ ์†Œ์š”๋œ ์‹œ๊ฐ„

2์‹œ๊ฐ„

โœจ ์ˆ˜๋„ ์ฝ”๋“œ

ํ’€์ด ๋ฐฉ์‹

์›๋ž˜ ํ•˜๋‚˜์˜ ์ •๋ ฌ๋œ ๋ฐฐ์—ด ์•ˆ์—์„œ start๊ณผ end์—์„œ ๋น„๊ต๋ฅผ ํ•ด๊ฐ€๋ฉด์„œ ํ•˜๋Š”๊ฒŒ ๋งž์ง€๋งŒ ๋ฌธ์ œ ์ž์ฒด์—์„œ ์•Œ์นผ๋ฆฌ์„ฑ๊ณผ ์‚ฐ์„ฑ ์šฉ์•ก์„ ๊ตฌ๋ถ„ํ•ด์ฃผ์—ˆ๊ธฐ ๋•Œ๋ฌธ์— ์•Œ์นผ๋ฆฌ์„ฑ ๋ฐฐ์—ด ํ•˜๋‚˜, ์‚ฐ์„ฑ ๋ฐฐ์—ด ํ•˜๋‚˜๋กœ ๊ตฌ๋ถ„ํ•ด์„œ ์–‘์ชฝ ๋ฐฐ์—ด์„ ์ •๋ ฌํ•ด ๊ฐ’์„ ๋น„๊ตํ•ด๋‚˜๊ฐ€๋Š” ๋ฐฉ์‹์„ ์ฑ„ํƒํ–ˆ๋‹ค.

image
image
์‚ฐ์„ฑ์€ ์˜ค๋ฆ„์ฐจ์ˆœ ์œผ๋กœ ์ •๋ ฌํ•ด์ฃผ๊ณ  '์—ผ๊ธฐ์„ฑ'์€ ๋‚ด๋ฆผ์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•ด์ค€๋‹ค.
๊ทธ๋ ‡๊ฒŒ ๋˜๋ฉด 1๊ณผ -6์ด ๋งŒ๋‚˜๊ฒŒ๋˜์–ด -5์˜ ๊ฐ’์„ ๊ฐ€์ง€๊ฒŒ ๋˜๋Š”๋ฐ ํ•ด๋‹น ๊ฐ’์ด ์‚ฐ์„ฑ๊ณผ ์—ผ๊ธฐ์„ฑ์„ ๋”ํ•œ ๊ฐ’๋“ค ์ค‘ ๋‚ฎ๋‹ค๋ฉด ํ•ด๋‹น ๊ฐ’๋“ค๋กœ ์—…๋ฐ์ดํŠธ ํ•ด์ค€๋‹ค.
image

๊ทธ๋Ÿผ ๋‹ค์Œ ๊ฐ’์„ ๋น„๊ตํ•ด์ค˜์•ผ ํ•˜๋Š”๋ฐ ๋‹ค์Œ ๊ฐ’์œผ๋กœ ๋„˜์–ด๊ฐ€๋Š” ๊ธฐ์ค€์„ ์‚ฐ์„ฑ๊ณผ ์—ผ๊ธฐ์„ฑ๊ฐ’์„ ๋น„๊ตํ•˜์—ฌ ์ฆ๊ฐ€ํ•ด์ฃผ๋Š” ์‹์œผ๋กœ ๋„˜๊ฒจ์ฃผ์—ˆ๋‹ค.
image
์ ˆ๋Œ“๊ฐ’ ์‚ฐ์„ฑ์ด ์—ผ๊ธฐ์„ฑ๋ณด๋‹ค ๋†’์œผ๋ฉด ์—ผ๊ธฐ์„ฑ์ธ๋ฑ์Šค๋ฅผ ์ฆ๊ฐ€์‹œ์ผœ์คŒ์œผ๋กœ์จ ์‚ฐ์„ฑ๊ณผ ์—ผ๊ธฐ์„ฑ์˜ ์ฐจ์ด๋ฅผ ์ค„์—ฌ์ฃผ๊ฑฐ๋‚˜ ์—ผ๊ธฐ์„ฑ์ด ์‚ฐ์„ฑ๋ณด๋‹ค ์ปค์ง€๊ฒŒ ์ ‘๊ทผ์„ ํ•ด์ค€๋‹ค.
๋ฐ˜๋Œ€๋กœ ์—ผ๊ธฐ์„ฑ์ด ์‚ฐ์„ฑ๋ณด๋‹ค ํฌ๋‹ค๋ฉด ๋ฐ˜๋Œ€๋กœ ์ ์šฉํ•ด์ค€๋‹ค.

์œ„์—์„œ ์—ผ๊ธฐ์„ฑ๊ณผ ์‚ฐ์„ฑ ๋ฐฐ์—ด๋“ค์„ ์ ‘๊ทผํ•ด์ฃผ๋ฉด์„œ ๊ฐ’์„ ์ฆ๊ฐ€์‹œ์ผœ์ฃผ๊ฒŒ ๋˜๋ฉด ์ ˆ๋Œ“๊ฐ’์ด ์ž‘์€ ๊ฐ’๋“ค๋ถ€ํ„ฐ ์„ž์–ด์ฃผ๋ฉด์„œ ํฐ ๊ฐ’์€ ํฐ ๊ฐ’๋“ค๋ผ๋ฆฌ ์„ž๊ฒŒ๋˜๋ฉฐ ์ž‘์€ ๊ฐ’๊ณผ ํฐ ๊ฐ’์˜ ์˜ค์ฐจ ๋ฒ”์œ„๋ฅผ ์ค„์—ฌ์ฃผ๊ฒŒ ๋œ๋‹ค.

๋‹จ, ์ด๋ ‡๊ฒŒ ํ’€๊ฒŒ๋˜๋ฉด ์˜ˆ์™ธ ์‚ฌํ•ญ๋“ค์„ ์ฒ˜๋ฆฌํ•ด์ค˜์•ผ ํ•œ๋‹ค.

์˜ˆ์™ธ 1

๊ฐ€์žฅ ์ž‘์€ ๊ฐ’๋“ค, ์ฆ‰ ๊ฐ ๋ฐฐ์—ด์—์„œ ์ฒซ๋ฒˆ์งธ ๋‘๋ฒˆ์งธ ์›์†Œ์˜ ํ•ฉ์ด ์ตœ์†Œ๊ฐ€ ๋  ๊ฐ€๋Šฅ์„ฑ์ด ์žˆ๋‹ค.
์œ„์˜ ์˜ˆ์‹œ์—์„œ๋„ ์—ผ๊ธฐ์„ฑ, ์‚ฐ์„ฑ์—์„œ ๋ฝ‘์•„์„œ ํ•ฉํ•˜๋Š” ๊ฐ’๋ณด๋‹ค ์‚ฐ์„ฑ์—์„œ ์ฒซ๋ฒˆ์งธ ์ธ๋ฑ์Šค, ๋‘๋ฒˆ์งธ ์ธ๋ฑ์Šค ํ•ฉํ•œ ๊ฐ’์ด ์ œ์ผ ์ตœ์†Œ์ด๋‹ค.
๊ทธ๋ ‡๊ธฐ ๋•Œ๋ฌธ์— ๊ฐ๊ฐ ๋ฐฐ์—ด์˜ ์›์†Œ๋“ค์ด 2๊ฐœ ์ด์ƒ์ผ ๊ฒฝ์šฐ ๊ฐ€์žฅ ์ž‘์€ ์•ž์˜ ๋‘ ๊ฐœ์˜ ์›์†Œ์˜ ํ•ฉ์ด ์ตœ์†Œ์ผ ๊ฒฝ์šฐ๋ฅผ ์˜ˆ์™ธ ์ฒ˜๋ฆฌ ํ•ด์ฃผ์—ˆ๋‹ค.
image

์˜ˆ์™ธ 2

๋‘๋ฒˆ์งธ ์˜ˆ์™ธ๋Š” ์–ด๋Š ํ•œ์ชฝ์˜ ๋ฐฐ์—ด์ด ์•„์˜ˆ ๋น„์—ˆ์„ ๊ฒฝ์šฐ์ด๋‹ค.
ํ•œ ์ชฝ์˜ ๋ฐฐ์—ด์ด ๋น„์—ˆ์„ ๊ฒฝ์šฐ ๋‹ค๋ฅธ ํ•œ์ชฝ์˜ ๋ฐฐ์—ด ๊ฐ€์žฅ ์ž‘์€ ์›์†Œ๋“ค ๋‘๊ฐœ๋ฅผ ํ•ฉ ํ•œ ๊ฒƒ์ด ์ตœ์†Œ์ด๋‹ค.
image

image

ํ›„๊ธฐ

์‚ฌ์‹ค ํˆฌ ํฌ์ธํ„ฐ๋ผ๋Š”๊ฒŒ ํ•˜๋‚˜์˜ ๋ฐฐ์—ด์—์„œ ์ฒซ ๋ฒˆ์งธ ์›์†Œ์™€ ๋งˆ์ง€๋ง‰ ์›์†Œ์—์„œ๋ถ€ํ„ฐ ์‹œ์ž‘ํ•ด์„œ ๋น„๊ตํ•ด๋‚˜๊ฐ€๋Š” ๊ฒƒ์ด ๋งž๋‹ค.
๋ฌธ์ œ๋ฅผ ์ฝ์—ˆ์„ ๋•Œ ๊ฐ ์›์†Œ๋“ค์˜ ๊ธฐ์ค€์ด ๋ช…ํ™•ํ–ˆ๊ธฐ ๋•Œ๋ฌธ์— ๋‚˜๋Š” ๋‘ ๊ฐœ์˜ ๋ฐฐ์—ด์„ ์‚ฌ์šฉํ•˜๊ฒŒ ๋˜์—ˆ๋Š”๋ฐ ๋ณด๋‹ค์‹œํ”ผ ๋” ๋ณต์žกํ•˜๊ณ  ์˜ˆ์™ธ๋ฅผ ๋”ฐ๋กœ ์ฒ˜๋ฆฌํ•ด์ฃผ์–ด์•ผํ•˜๊ธฐ ๋•Œ๋ฌธ์— ์‰ฝ์ง€๋Š” ์•Š์•˜๋‹ค.
๋”ฑ ๋– ์˜ฌ๋ ธ์„ ๋•Œ ๋“  ์ƒ๊ฐ์œผ๋กœ ํ‘ผ๊ฑฐ๋ผ ์ค‘๊ฐ„์— ํฌ๊ธฐํ•˜๊ณ  ํ•˜๋‚˜์˜ ๋ฐฐ์—ด๋กœ ๋น„๊ตํ• ๊นŒ ์ƒ๊ฐํ–ˆ์ง€๋งŒ ์˜ˆ์™ธ๋งŒ ๋‹ค ์žก์œผ๋ฉด ๊ทธ๋Œ€๋กœ ํ’€ ์ˆ˜ ์žˆ์„ ๊ฒƒ ๊ฐ™์•„์„œ ๋„์ „ํ•ด๋ณด๊ฒŒ ๋˜์—ˆ๊ณ  ๊ฒฐ๊ณผ๋Š” ์„ฑ๊ณต์ ์ด์—ˆ๋‹ค. ๋ฟŒ๋“ฏ ^-^

๐Ÿ“š ์ƒˆ๋กญ๊ฒŒ ์•Œ๊ฒŒ๋œ ๋‚ด์šฉ

์ •์„ ํ’€์ด

Copy link
Collaborator

@yuyu0830 yuyu0830 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ํ•œ ๋ฐฐ์—ด์—์„œ ์ฒ˜๋ฆฌํ•˜๋Š” ๊ฑธ ์ƒ๊ฐํ–ˆ๋Š”๋ฐ ๋‘ ๋ฐฐ์—ด์„ ์‚ฌ์šฉํ–ˆ๊ตฐ์š”... ๋ฌผ๋ก  ์˜ˆ์™ธ ์ฒ˜๋ฆฌ์— ๋Œ€ํ•œ ๋ถ€๋ถ„์„ ๊ณ ๋ คํ•˜๋ฉด ํ•œ ๋ฐฐ์—ด์„ ์ด์šฉํ•˜๋Š”๊ฒŒ ์ง๊ด€์ ์ด๊ฒ ์ง€๋งŒ ๊ทธ๋ž˜๋„ ํฌ๊ธฐํ•˜์ง€ ์•Š๊ณ  ๋๊นŒ์ง€ ์˜ˆ์™ธ ์ฒ˜๋ฆฌํ•ด์„œ ์™„์„ฑํ•ด๋ƒˆ๋‹ค๋Š”๊ฒŒ ๋ฉ‹์žˆ๋„ค์š” ใ…Žใ…Ž

minVal = abs(anum + bnum);
}

(abs(anum) > abs(bnum)) ? b_index++ : a_index++;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์„น์‹œํ•œ ์‚ผํ•ญ ์—ฐ์‚ฐ์ž ์‚ฌ์šฉ

@yuyu0830
Copy link
Collaborator

yuyu0830 commented Apr 11, 2024

์ €์˜€๋‹ค๋ฉด pair<int, bool> ์ž๋ฃŒํ˜•์œผ๋กœ ์ ˆ๋Œ€๊ฐ’, ์Œ์ˆ˜ ์—ฌ๋ถ€๋ฅผ ๊ธฐ์ค€์œผ๋กœ ์ •๋ ฌํ•ด arr[0], arr[1] ๋ถ€ํ„ฐ arr[n - 2], arr[n - 1] ๋ฒˆ ๊นŒ์ง€ ์ตœ์†Œ๊ฐ’ ์ˆœํšŒํ–ˆ์„ ๊ฒƒ ๊ฐ™์•„์š”!

// ์ถ”๊ฐ€
๊ฒฐ๊ตญ ์ด๋ ‡๊ฒŒ ํ’€์—ˆ์–ด์š”!

#include <iostream>
#include <algorithm>
#define fastio ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr);

#define VALUE(x) (x.first * x.second)

using namespace std;

typedef pair<int, int> ii;

ii arr[100001];

int main() {
    fastio
    int n; cin >> n;

    for (int i = 0; i < n; i++) {
        int t; cin >> t;
        arr[i] = make_pair(abs(t), t < 0 ? -1 : 1);
    }

    sort(arr, arr + n);

    int ans = 2147000000;
    int a, b, t;

    for (int i = 1; i < n; i++) {
        int x = VALUE(arr[i - 1]);
        int y = VALUE(arr[i]);
        t = abs(x - (y * -1));

        if (t < ans) {
            ans = t;
            a = min(x, y);
            b = max(x, y);
        }
    }

    printf("%d %d\n", a, b);
}

@InSange
Copy link
Collaborator Author

InSange commented Apr 12, 2024

์ €์˜€๋‹ค๋ฉด pair<int, bool> ์ž๋ฃŒํ˜•์œผ๋กœ ์ ˆ๋Œ€๊ฐ’, ์Œ์ˆ˜ ์—ฌ๋ถ€๋ฅผ ๊ธฐ์ค€์œผ๋กœ ์ •๋ ฌํ•ด arr[0], arr[1] ๋ถ€ํ„ฐ arr[n - 2], arr[n - 1] ๋ฒˆ ๊นŒ์ง€ ์ตœ์†Œ๊ฐ’ ์ˆœํšŒํ–ˆ์„ ๊ฒƒ ๊ฐ™์•„์š”!

// ์ถ”๊ฐ€ ๊ฒฐ๊ตญ ์ด๋ ‡๊ฒŒ ํ’€์—ˆ์–ด์š”!

#include <iostream>
#include <algorithm>
#define fastio ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr);

#define VALUE(x) (x.first * x.second)

using namespace std;

typedef pair<int, int> ii;

ii arr[100001];

int main() {
    fastio
    int n; cin >> n;

    for (int i = 0; i < n; i++) {
        int t; cin >> t;
        arr[i] = make_pair(abs(t), t < 0 ? -1 : 1);
    }

    sort(arr, arr + n);

    int ans = 2147000000;
    int a, b, t;

    for (int i = 1; i < n; i++) {
        int x = VALUE(arr[i - 1]);
        int y = VALUE(arr[i]);
        t = abs(x - (y * -1));

        if (t < ans) {
            ans = t;
            a = min(x, y);
            b = max(x, y);
        }
    }

    printf("%d %d\n", a, b);
}

image
์œ„์˜ ์กฐ๊ฑด๋Œ€๋กœ ์ค‘๋ณต๋˜๋Š” ๊ฐ’์ด ์—†์œผ๋‹ˆ ์•„์˜ˆ ์ ˆ๋Œ€๊ฐ’์œผ๋กœ ์ •๋ ฌ์‹œํ‚จ๋’ค ๋”ฐ๋กœ ๋ถ€ํ˜ธ ์—ฌ๋ถ€๋งŒ ์ €์žฅํ•ด์ฃผ๋Š” ์‹์œผ๋กœ ์ง„ํ–‰ํ•œ ๋ถ€๋ถ„์ด ์ธ์ƒ๊นŠ๋„ค์š”.
์ ˆ๋Œ€๊ฐ’์œผ๋กœ ์ •๋ ฌํ•˜์˜€๊ธฐ ๋•Œ๋ฌธ์— ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌ์ด ๋  ๊ฒƒ์ด๊ณ  ๋น„๊ต ์—ญ์‹œ i-1๋ฒˆ์งธ์™€ i๋ฒˆ์งธ ๊ฐ’ (์ฐจ์ด๊ฐ€ ์–ผ๋งˆ ๋‚˜์ง€ ์•Š๋Š”)์„ ๋น„๊ตํ•ด์คŒ์œผ๋กœ์จ ํˆฌ ํฌ์ธํ„ฐ๋กœ ์ง์ ‘ ๋ฐฉ๋ฌธํ•ด์„œํ•˜๋Š” ๊ฒƒ๋ณด๋‹ค ๋” ํšจ์œจ์ ์ด๋„ค์š”!
์ž˜ ๋ฐฐ์›Œ ๊ฐ‘๋‹ˆ๋‹ค.

t = abs(x - (y * -1)); ํ•ด๋‹น ๋ถ€๋ถ„์€ ์„ž๋Š”๋‹ค๋Š” ์ ์—์„œ x+y๋กœํ•ด๋„ ๋˜์ง€ ์•Š์•˜์„๊นŒ์š”? ์ ˆ๋Œ€๊ฐ’์œผ๋กœ ๋น„๊ต๋ฅผ ํ•ด์ค„ ๊ฒƒ์ด๊ธฐ ๋•Œ๋ฌธ์— ๋ถ€ํ˜ธ๊ฐ€ ์˜๋ฏธ๊ฐ€ ๋ฌด์ƒ‰ํ•ด์ง€๋Š” ๊ฒƒ ๊ฐ™์€๋ฐ ์™œ ์ด๋ ‡๊ฒŒ ์ž‘์„ฑํ–ˆ๋Š”์ง€ ์•Œ ์ˆ˜ ์žˆ์„๊นŒ์šฉ?

@yuyu0830
Copy link
Collaborator

image ์œ„์˜ ์กฐ๊ฑด๋Œ€๋กœ ์ค‘๋ณต๋˜๋Š” ๊ฐ’์ด ์—†์œผ๋‹ˆ ์•„์˜ˆ ์ ˆ๋Œ€๊ฐ’์œผ๋กœ ์ •๋ ฌ์‹œํ‚จ๋’ค ๋”ฐ๋กœ ๋ถ€ํ˜ธ ์—ฌ๋ถ€๋งŒ ์ €์žฅํ•ด์ฃผ๋Š” ์‹์œผ๋กœ ์ง„ํ–‰ํ•œ ๋ถ€๋ถ„์ด ์ธ์ƒ๊นŠ๋„ค์š”. ์ ˆ๋Œ€๊ฐ’์œผ๋กœ ์ •๋ ฌํ•˜์˜€๊ธฐ ๋•Œ๋ฌธ์— ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌ์ด ๋  ๊ฒƒ์ด๊ณ  ๋น„๊ต ์—ญ์‹œ i-1๋ฒˆ์งธ์™€ i๋ฒˆ์งธ ๊ฐ’ (์ฐจ์ด๊ฐ€ ์–ผ๋งˆ ๋‚˜์ง€ ์•Š๋Š”)์„ ๋น„๊ตํ•ด์คŒ์œผ๋กœ์จ ํˆฌ ํฌ์ธํ„ฐ๋กœ ์ง์ ‘ ๋ฐฉ๋ฌธํ•ด์„œํ•˜๋Š” ๊ฒƒ๋ณด๋‹ค ๋” ํšจ์œจ์ ์ด๋„ค์š”! ์ž˜ ๋ฐฐ์›Œ ๊ฐ‘๋‹ˆ๋‹ค.

t = abs(x - (y * -1)); ํ•ด๋‹น ๋ถ€๋ถ„์€ ์„ž๋Š”๋‹ค๋Š” ์ ์—์„œ x+y๋กœํ•ด๋„ ๋˜์ง€ ์•Š์•˜์„๊นŒ์š”? ์ ˆ๋Œ€๊ฐ’์œผ๋กœ ๋น„๊ต๋ฅผ ํ•ด์ค„ ๊ฒƒ์ด๊ธฐ ๋•Œ๋ฌธ์— ๋ถ€ํ˜ธ๊ฐ€ ์˜๋ฏธ๊ฐ€ ๋ฌด์ƒ‰ํ•ด์ง€๋Š” ๊ฒƒ ๊ฐ™์€๋ฐ ์™œ ์ด๋ ‡๊ฒŒ ์ž‘์„ฑํ–ˆ๋Š”์ง€ ์•Œ ์ˆ˜ ์žˆ์„๊นŒ์šฉ?

์—ญ์‹œ ์‚ฌ๋žŒ์ด ์‹œ์•ผ๊ฐ€ ๋„“๊ณ  ๋ณผ ์ผ์ด๋„ค์š”... ์ตœ๋Œ€ํ•œ ์ปดํŒฉํŠธํ•˜๊ฒŒ ์งฐ๋‹ค๊ณ  ์ƒ๊ฐํ–ˆ๋Š”๋ฐ.. ๋‹จ์ˆœ x๋ž‘ y์˜ ์ฐจ์ด๋ฅผ ๊ตฌํ•ด์•ผํ•œ๋‹ค! ๋ผ๋Š” ์‚ฌ๊ณ ์— ๊ฐ‡ํ˜€์žˆ์–ด์„œ ๋ชป๋ณธ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.. ๋ฆฌ์ŠคํŽ™

Copy link
Collaborator

@seongwon030 seongwon030 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋‘ ๊ฐœ์˜ ๋ฆฌ์ŠคํŠธ๋กœ ์ €์žฅํ•ด์„œ ํ’€์–ด์•ผ๊ฒ ๋‹ค ๋ผ๋Š” ์ƒ๊ฐ์ด ๋“ค๊ธด ํ–ˆ๋Š”๋ฐ, ์–ด๋–ป๊ฒŒ ๋‘ ๊ฐœ์˜ ๋ฆฌ์ŠคํŠธ ์›์†Œ๋ฅผ ๋น„๊ตํ•˜๋ฉด์„œ ์ง„ํ–‰ํ•ด์•ผ ํ• ์ง€ ๋ง‰๋ง‰ํ–ˆ์–ด์š”. ์ ˆ๋Œ“๊ฐ’์œผ๋กœ ๋‹ค์Œ๊ฐ’์„ ๋น„๊ตํ•˜๋ฉด์„œ ์‚ฐ์„ฑ๊ณผ ์•Œ์นผ๋ฆฌ์„ฑ์˜ ์ธ๋ฑ์Šค๋ฅผ ๋Š˜๋ฆฌ๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ์—ˆ๊ตฐ์š”.. ํ’€์ด ์ž˜ ๋ดค์Šต๋‹ˆ๋‹คใ…Žใ…Ž

Copy link
Contributor

@dhlee777 dhlee777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ €๋Š” ๋ธŒ๋ฃจํŠธ ํฌ์Šค๋กœ ๋ชจ๋“  ๋‘ ์šฉ์•ก์˜ ๊ฒฝ์šฐ์˜ ์ˆ˜๋ฅผ ๋‹ค ๋”ฐ์ ธ์„œ ํ’€์–ด์•ผ๊ฒ ๋‹ค ์ƒ๊ฐํ–ˆ๋Š”๋ฐ ์Šคํƒ์ด๋‚˜ ํˆฌํฌ์ธํ„ฐ๋กœ ์ ‘๊ทผ์ด ๊ฐ€๋Šฅํ•˜๊ตฐ์š”.. ๊ทธ๋ฆฌ๊ณ  ํ˜น์‹œ ๋ฌธ์ œ์—์„œ ๋‘์ข…๋ฅ˜๋งŒ์˜ ์•Œ์นผ๋ฆฌ์„ฑ ์šฉ์•ก์ด๋‚˜ ๋‘์ข…๋ฅ˜๋งŒ์˜ ์‚ฐ์„ฑ์šฉ์•ก์œผ๋กœ๋„ ํ˜ผํ•ฉ๋ฌผ์„ ๋งŒ๋“ค์ˆ˜ ์žˆ๋‹ค๊ณ  ํ–ˆ๋Š”๋ฐ ์ด๋Ÿฌ๋ฉด ๊ตฌ์ง€ ์•Œ์นผ๋ฆฌ,์‚ฐ์„ฑ์„ ๊ตฌ๋ถ„ํ•˜๋Š” ์˜๋ฏธ๊ฐ€์žˆ๋‚˜์š”..? ๊ทธ๋ƒฅ ๋‹จ์ˆœํžˆ ํŠน์„ฑ๊ฐ’0์„ ๋ฐฐ์ œํ•ด์ฃผ๊ธฐ ์œ„ํ•ด ๋‘์ข…๋ฅ˜๋กœ ๊ตฌ๋ถ„ํ•˜๋Š”๊ฑด๊ฐ€์š” ๋ฌธ์ œ์ž์ฒด์— ์˜๋ฌธ์ ์ด ๋“ค์–ด์„œ ๋‚จ๊ฒจ๋ด…๋‹ˆ๋‹ค....

@InSange
Copy link
Collaborator Author

InSange commented May 4, 2024

ํฌ์Šค๋กœ ๋ชจ๋“  ๋‘ ์šฉ์•ก์˜ ๊ฒฝ์šฐ์˜ ์ˆ˜๋ฅผ ๋‹ค ๋”ฐ์ ธ์„œ ํ’€์–ด์•ผ๊ฒ ๋‹ค ์ƒ๊ฐํ–ˆ๋Š”๋ฐ ์Šคํƒ์ด๋‚˜ ํˆฌํฌ์ธํ„ฐ๋กœ ์ ‘๊ทผ์ด ๊ฐ€๋Šฅํ•˜๊ตฐ์š”.. ๊ทธ๋ฆฌ๊ณ  ํ˜น์‹œ ๋ฌธ์ œ์—์„œ ๋‘์ข…๋ฅ˜๋งŒ์˜ ์•Œ์นผ๋ฆฌ์„ฑ ์šฉ์•ก์ด๋‚˜ ๋‘์ข…๋ฅ˜๋งŒ์˜ ์‚ฐ์„ฑ์šฉ์•ก์œผ๋กœ๋„ ํ˜ผํ•ฉ๋ฌผ์„ ๋งŒ๋“ค์ˆ˜ ์žˆ๋‹ค๊ณ  ํ–ˆ๋Š”๋ฐ ์ด๋Ÿฌ๋ฉด ๊ตฌ์ง€ ์•Œ์นผ๋ฆฌ,์‚ฐ์„ฑ์„ ๊ตฌ๋ถ„ํ•˜๋Š” ์˜๋ฏธ๊ฐ€์žˆ๋‚˜์š”..? ๊ทธ๋ƒฅ ๋‹จ์ˆœํžˆ ํŠน์„ฑ๊ฐ’0์„ ๋ฐฐ์ œํ•ด์ฃผ๊ธฐ ์œ„ํ•ด ๋‘์ข…๋ฅ˜๋กœ ๊ตฌ๋ถ„

ํฐ ์˜๋ฏธ๋Š” ์—†์Šต๋‹ˆ๋‹ค! ๊ทธ๋ƒฅ ๋ฌธ์ œ๋ฅผ ์ฝ์—ˆ์„ ๋•Œ ์•Œ์นผ๋ฆฌ๋Š” ์Œ์ˆ˜ ์‚ฐ์„ฑ์€ ์–‘์ˆ˜๋กœ ๋”ฐ๋กœ ๊ตฌ๋ถ„ํ•ด์„œ ์ •๋ ฌํ•œ๋’ค ๋น„๊ตํ•ด๋‚˜๊ฐ€๋Š” ๋ฐฉ์‹์œผ๋กœ ๋‚˜๊ฐ„ ๊ฒƒ์ž…๋‹ˆ๋‹ค.
ํˆฌ ํฌ์ธํ„ฐ๋Š” ์‹œ์ž‘์ ๊ณผ ๋์ ์—์„œ ๋น„๊ต๋ฅผ ํ•˜๋Š” ๊ฒƒ์ธ๋ฐ ๋งŒ์•ฝ ๋‘ ๋ฐฐ์—ด๋กœ ์ง„ํ–‰ํ•˜๊ฒŒ๋˜๋ฉด ํ•ด๋‹น ๋ฐฐ์—ด์—์„œ ๊ฐ๊ฐ ๊บผ๋‚ด๋ฉด ๋˜๋‹ˆ๊นŒ ํˆฌ ํฌ์ธํ„ฐ์˜ ๋ฐฐ์—ด ๋ฒ„์ „์ด๋ผ๊ณ  ๋ณด์‹œ๋ฉด ๋  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค!

@InSange InSange merged commit ef99fe7 into main May 4, 2024
@InSange InSange deleted the 8-InSange branch May 4, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants