diff --git "a/Programmers/\353\254\270\354\236\220\354\227\264\354\225\210\354\227\220_\353\254\270\354\236\220\354\227\264.cpp" "b/Programmers/\353\254\270\354\236\220\354\227\264\354\225\210\354\227\220_\353\254\270\354\236\220\354\227\264.cpp" new file mode 100644 index 0000000..1be3c17 --- /dev/null +++ "b/Programmers/\353\254\270\354\236\220\354\227\264\354\225\210\354\227\220_\353\254\270\354\236\220\354\227\264.cpp" @@ -0,0 +1,8 @@ +#include +#include + +using namespace std; + +int solution(string str1, string str2) { + return str1.find(str2) == string::npos ? 2 : 1; +} \ No newline at end of file