๋ฌธ์ ๋งํฌ : 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 ์นดํ
๊ณ ๋ฆฌ์ ์์ต๋๋ค.