์ƒˆ์†Œ์‹

๐Ÿงฎ PS

์ฝ”๋“œ์—… (Code up) 1001~1007 (๊ธฐ์ดˆ-์ถœ๋ ฅ) [ C++, CPP ]

  • -

๋ฌธ์ œ๋งํฌ : https://codeup.kr/problem.php?id=1001

 

[๊ธฐ์ดˆ-์ถœ๋ ฅ] ์ถœ๋ ฅํ•˜๊ธฐ01(์„ค๋ช…)

C์–ธ์–ด๊ธฐ์ดˆ100์ œv1.2 : @์ปดํ“จํ„ฐ๊ณผํ•™์‚ฌ๋ž‘, ์ „๊ตญ ์ •๋ณด(์ปดํ“จํ„ฐ)๊ต์‚ฌ ์ปค๋ฎค๋‹ˆํ‹ฐ/์—ฐ๊ตฌํšŒ - ํ•™๊ต ์ •๋ณด(์ปดํ“จํ„ฐ)์„ ์ƒ๋‹˜๋“ค๊ณผ ํ•จ๊ป˜ ์ˆ˜์—…/๋ฐฉ๊ณผํ›„ํ•™์Šต/๋™์•„๋ฆฌํ™œ๋™ ๋“ฑ์„ ํ†ตํ•ด ์žฌ๋ฏธ์žˆ๊ฒŒ ๋ฐฐ์›Œ๋ณด์„ธ์š”.  - ๋ชจ๋“  ๋‚ด์šฉ ๋ฐ ์ด๋ฏธ์ง€๋“ค์€ ์ €์ž‘์ž์™€์˜ ํ˜‘์˜ ์—†์ด ๋ฌด๋‹จ์œผ๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.

codeup.kr

 

*1001๋ฒˆ

#include <iostream>

using namespace std;
int main(){
    cout<<"Hello";
};

 

*1002๋ฒˆ

    #include <iostream>
    using namespace std;
    int main(){
        cout << "Hello World";
    }

 

*1003๋ฒˆ

#include <iostream>
using namespace std;
int main(){
    cout<<"Hello\n"<<"World";
}

 

*1004๋ฒˆ

#include <iostream>
using namespace std;
int main(){
    cout<<"'Hello'";
}

 

*1005๋ฒˆ

#include <iostream>
using namespace std;
int main(){
    cout<<"\"Hello World\"";   // ๋”ฐ์˜ดํ‘œ๋ฅผ ์ถœ๋ ฅํ• ๋• \" ๋กœ ์‚ฌ์šฉํ•˜๋ฉด๋œ๋‹ค.
}

 

            ๋”ฐ์˜ดํ‘œ๋ฅผ ์ถœ๋ ฅํ• ๋• \"๋กœ ์‚ฌ์šฉํ•˜๋ฉด ๋œ๋‹ค.

*1006๋ฒˆ

#include <iostream>
using namespace std;
int main(){
    cout << "\"!@#$%^&*()\"" ;
}

 

*1007๋ฒˆ

// 1007๋ฒˆ
#include <iostream>
using namespace std;
int main(){
    cout <<"\"C:\\Download\\hello.cpp\""; 
}

                        // ๋ฐฑ์Šฌ๋ž˜์‹œ๋ฅผ ํ•œ๊ฐœ ์ถœ๋ ฅํ• ๋• ๋‘๋ฒˆ ์ž…๋ ฅํ•ด์•ผํ•œ๋‹ค. \\

 

 

 

 

*ํŒŒ์ด์ฌ ํ’€์ด๋„ code up ์นดํ…Œ๊ณ ๋ฆฌ์— ์žˆ์Šต๋‹ˆ๋‹ค.

Contents

ํฌ์ŠคํŒ… ์ฃผ์†Œ๋ฅผ ๋ณต์‚ฌํ–ˆ์Šต๋‹ˆ๋‹ค

์ด ๊ธ€์ด ๋„์›€์ด ๋˜์—ˆ๋‹ค๋ฉด ๊ณต๊ฐ ๋ถ€ํƒ๋“œ๋ฆฝ๋‹ˆ๋‹ค.